[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: useradd with * in passwd field
- From: Aldo Foot <lunixer gmail com>
- To: "Community assistance, encouragement, and advice for using Fedora." <fedora-list redhat com>
- Subject: Re: useradd with * in passwd field
- Date: Mon, 6 Apr 2009 09:16:28 -0700
On Mon, Apr 6, 2009 at 7:50 AM, Sudarshan Soma <sudarshan12s gmail com> 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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]