Wednesday, 1 April 2015

Consolidating AIX essential commands


Check system limits:
        Ulimit –a
Modify system parameters:
        smitty chgsys
Disable remote login for Root:
         #PermitRootLogin yes <--- change to no and uncomment it in sshd.conf file
         And restart sshd
         stopsrc -s sshd ;
         startsrc -s sshd
Unlock account after wrong attempts:
         chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s 'user'