Locking User In Solaris
Locking user in Solaris is easy, and I wonder why should I write actually. But anyway, just in case if you bother to read, this is how.
Status of normal account is PS (Password Set)
jebat8#passwd -s gojilla
gojilla PS
Lock it using this command
passwd -l
jebat8#passwd -l gojilla
passwd: password information changed for gojilla
Now the account is locked. User can’t access the system as it used to be.
jebat8#passwd -s gojilla
gojilla LK
Advertisement
Leave a Comment