Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Sun Aug 20, 2017 6:10 pm


News News of AIX

Site map of AIX » Forum : AIX

AIX tips & tricks

Message
 Post subject: AIX 5.3 - How to check for failed login attempts
PostPosted: Tue Jan 20, 2015 5:25 pm 
AIX failed login attempts, check failed login attempts on AIX

How to check for failed login attempts on AIX
AIX 5.x logs failed login attempts to /etc/security/failedlogin file (don't try to head/grep/tail it, it's data or International Language text)

Code:
$ file /etc/security/failedlogin
/etc/security/failedlogin: data or International Language text

To be able to read this file and list failed login attempts, use who -a /etc/security/failedlogin command:

$ who -a /etc/security/failedlogin
root - ssh Jan 21 09:43 ...

Read more : AIX 5.3 - How to check for failed login attempts | Views : 16029 | Replies : 0

Top
 Post subject: AIX 5 find -maxdepth replacement: -prune (finding without descending subdirectories)
PostPosted: Mon Mar 29, 2010 10:12 am 
Here are 3 little tips for using find under AIX to search files by specific i-node attribute, without descending into subdirectories (maxdepth 1).

1) Install find from AIX Linux toolbox

2)
Code:
find . ! -name . -prune -type f

3)
Code:
find * -prune -type f
In this case, the metacharacter star will instruct find to operate in the current directory. So you can either cd to desired dir, or
Code:
find /path/to/dest/dir/* -prune -type f

Read more : AIX 5 find -maxdepth replacement: -prune (finding without descending subdirectories) | Views : 6136 | Replies : 0

Top

Last 10 active topics


Shell Scripting and Programming

No new posts AWK: How to replace a newline with actual \n
View the latest post
No new posts How to use $variable in conditional sentences?
View the latest post
No new posts Scan IP range using nmap
View the latest post
No new posts Password generator with user inputs bash script
View the latest post

Virtualization

No new posts SSH Login to Vmware ESXi with ssh keys
View the latest post
No new posts How to retrieve Vmware ESXi license from ssh shell command line
View the latest post

TCP/IP Networking

No new posts TCP ack after two packets
View the latest post

Junos Tips & Tricks

No new posts MTR / My traceroute in Junos
View the latest post

VPS Hosting & Security

No new posts Host a gmod server on a vps or shared host?
View the latest post

Juniper virtual MX (vMX)

No new posts Juniper Virtual MX (vMX) 14.2R5.3 Phase 2 (RE and MPC on different VMs)
View the latest post

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 601 | Total topics 970 | Total members 1193



News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO