Sunday, February 22, 2009

Disabling login permission to user accounts in unix

In Unix terms it is called as locking, so that no one can use that username to login.

The command for it is "passwd -l username".

And to unlock it "passwd -u username".

You should be logged in as "root" to do the above operations.

No comments: