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

FAQ
It is currently Mon Oct 16, 2017 5:00 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 : 16613 | 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 : 6402 | Replies : 0

Top

Last 10 active topics


Memory, Storage, Backup and Filesystems

No new posts FreeBSD: List disk drives and re-scan after adding hot-add disk (in virtual environments)
View the latest post

Routing and dynamic routing protocols

No new posts JUNOS BGP: How to drain a BGP peering router gracefully without bgp session reset
View the latest post

Apache, Nginx, Lighttpd and other web server software

No new posts NGINX: 413 Request Entity Too Large
View the latest post

System administration

No new posts MAC OS X: read image/jpeg EXIF information on command line
View the latest post

Shell Scripting and Programming

No new posts Shell scripting
View the latest post
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

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

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 607 | Total topics 977 | 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