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

FAQ
It is currently Tue May 23, 2017 10:09 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 : 14949 | 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 : 5631 | Replies : 0

Top

Last 10 active topics


Virtualization

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

Shell Scripting and Programming

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

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

OpenLDAP - Lightweight Directory Access Protocol

No new posts cannot login in linux system with ldap user after changing the ldap user password
View the latest post

PHP and other web technologies

No new posts php
View the latest post

TCPdump & Wireshark tips & tricks

No new posts Tcpdump - dump HTTP headers as ASCII and HEX
View the latest post

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 598 | Total topics 967 | 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