Re: useradd with * in passwd field

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

 



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?


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux