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

FAQ
It is currently Tue Jan 17, 2017 12:37 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 : 12951 | 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 : 4475 | Replies : 0

Top

Last 10 active topics


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

Security, NAT, Policies, Screen, Flow, TCP

No new posts ROUTING INSTANCE is not working on firewall srx210
View the latest post

Routing and dynamic routing protocols

No new posts Junos "show bgp summary" shows different outputs for neighbors
View the latest post

Memory, Storage, Backup and Filesystems

No new posts Restoring data from a Seagate 2BAY NAS with lost configuration
View the latest post

TCP/IP Networking

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

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 594 | Total topics 964 | Total members 1112



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