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

FAQ
It is currently Mon Jul 23, 2018 3:47 am


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 : 19475 | 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 : 7454 | Replies : 0

Top

Last 10 active topics


Tutorials for general Unix

No new posts use "Ctr-A Ctr-\ " combination to terminate SCREEN session
View the latest post

Juniper SRX

No new posts SRX300 - How to connect to serial console via USB port in MacOS
View the latest post

Shell Scripting and Programming

No new posts DD (Disk Dump) show write progress
View the latest post
No new posts BASH shell script to mointor a directory and move file without overwriting destination
View the latest post
No new posts FreeBSD: Install python package manager (pip)
View the latest post

Virtualization

No new posts Vmware ESXi: create custom named vmdk virtual disk [cli]
View the latest post
No new posts Vmware ESXi: vmkfstools: Extra arguments at the end of the command line.
View the latest post

OpenLDAP - Lightweight Directory Access Protocol

No new posts Synchronize OpenLDAP and Microsoft Active Directory
View the latest post

Routing and dynamic routing protocols

No new posts BGP Notification Message (3), length: 21, OPEN Message Error (2), subcode Authentication Failure
View the latest post

TCP/IP Networking

No new posts Problem pinging and using server with mobile hotspot
View the latest post

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 617 | Total topics 987 | Total members 1192



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