On Mon, Apr 6, 2009 at 7:50 AM, Sudarshan Soma <[email protected]> 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
[email protected]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines