Re: useradd with * in passwd field

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

 



On Mon, Apr 6, 2009 at 7:50 AM, Sudarshan Soma <sudarshan12s@xxxxxxxxx> 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 mean not let it login ever?
Then change the shell entry as shown.
       myuser:*:12:23:guest:/:/sbin/nologin

You cannot even login from the root account, you get a
message that says: "This account is currently not available."
It works well for service accounts that do not require login or
user interaction.

Also, please when replying, post at the bottom of the message.
~af

-- 
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