Posts Tagged password

Change user settings and password attributes in AIX

To change some user and password settings in AIX, you should use the command "chuser". Follow some available parameters:

- loginretries -> number of login failures before lock the account.
- maxage -> maximum age of a password (in weeks)
- gecos -> general information about the user.
- groups
- home
- minlen -> minimum password length
- pgrp -> primary group

Example:
# chuser loginretries='0' maxage='0' gecos='User Foo Bar' groups='group1,group2,group3' home='/home/foobar' minlen='7' pgrp='groupX' <username>

 

, ,

No Comments