useradd with * in passwd field
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Mon Apr 6 16:18:03 UTC 2009
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
>
Depending on exactly what you are after, you man want to look at
setting the shell to /sbin/nologin.
(-s /sbin/nologin)
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting a bad thing?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090406/a95c1aed/attachment-0001.sig>
More information about the fedora-list
mailing list