Originally posted by: SystemAdmin
I think you could let "!" in /etc/passwd and "*" in /etc/security/passwd so user can't authenticate with password.
If you are using ssh keys, login is still permitted.
To check the status of a user, for example utest have an asterisk in /etc/passwd
root# pwdck -n user 3001-402 The user utest has an invalid password field in /etc/passwd.
To correct it, the system will put "!" in /etc/passwd and "*" in /etc/security/passwd
root# pwdck -p user
#AIX-Forum