[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: useradd with * in passwd field



Sudarshan Soma wrote:
Thanks Chris.
I got the command ,
usermod -p "*" user  &> /dev/null

Actually i want to make user with no access at any time.

Best Regards,
pavan
You should probably use "passwd -l <username>" then. Let the passwd command lock the account properly.

--
Stephen Berg
Systems Administrator
NRL Code: 7321
Office: 228-688-5738
stephen berg ctr nrlssc navy mil
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]