On Wed, Jan 08, 2003 at 08:02:30AM -0600, Patwardhan, Aniruddha wrote:
> I am an administrator.
> Now I want to lock a particular user account.
> How should I do this??

You don't sound like one. An administrator reads the documentation first.

usermod(8) has:

       -L     Lock  a  user's  password.   This  puts  a  '!'  in front of the
              encrypted password, effectively  disabling  the  password.   You
              can't use this option with -p or -U.

Figuring out what -p and -U do left as assignment 1 for Admin 101.

Binand

-- 
Russian Roulette with Unix:
while :; do kill $RANDOM &> /dev/null && break || sleep 1; done


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to