How to lock a users account.

A normal user joe would have an entry in /etc/passwd such as,

joe:x:1000:100:Joe Smith,,,:/home/joe:/bin/bash

To lock this account, all you have to do is replace the :x: with :*: as in

joe:*:1000:100:Joe Smith,,,:/home/joe:/bin/bash

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.