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 Reply

    Please log in using one of these methods to post your comment:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Connecting to %s



Follow

Get every new post delivered to your Inbox.