Security
"chsec" command
The chsec command changes the attributes stored in the security configuration stanza files. These security configuration stanza files have attributes that you can specify with the Attribute = Value parameter:
- /etc/security/environ
- /etc/security/group
- /etc/security/lastlog
- /etc/security/limits
- /etc/security/login.cfg
- /usr/lib/security/mkuser.default
- /etc/security/passwd
- /etc/security/portlog
- /etc/security/user
Syntax:
chsec [ -fFile] [ -s Stanza] [ -a Attribute = Value ... ]
To change the CPU time limit of user joe to 1 hour (3600 seconds):
# chsec -f /etc/security/limits -s joe -a cpu=3600
"chuser" command
The chuser command changes attributes for the user identified by the Name parameter. The user name must already exist. To change an attribute, specify the attribute name and the new value with the Attribute=Value parameter
To enable user smith to access this system remotely, type:
# chuser rlogin=true smith
The password on aix can be changed nom interactively using the setpwd command (Not an AIX command)
The source code can be downloaded from here
The Binary for 5.2 can be downloaded form here
the Binary for 5.3 can be downloaded form here