[Centos] how to change default shell when using adduser/useradd
Matt Bottrell
mbottrell at gmail.comMon Feb 21 14:57:39 UTC 2005
- Previous message: [Centos] how to change default shell when using adduser/useradd
- Next message: [Centos] how to change default shell when using adduser/useradd
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
adduser -s /bin/false loginname if the user is already created... you can use chsh to change their shell. ie: chsh -s /bin/false loginname Refer to useradd(8) manual page. On Mon, 21 Feb 2005 15:46:53 +0100, Michiel van Es <michiele at info.nl> wrote: > Hi, > when I use useradd of adduser in CentOS 3 or 4, the default shell a user > gets /bin/bash. > I want this to be changed to /bin/false for security reasons... > How can I accomplish this? > > Thanks in advance for any help. > -- > > Michiel > _______________________________________________ > CentOS mailing list > CentOS at caosity.org > http://lists.caosity.org/mailman/listinfo/centos >
- Previous message: [Centos] how to change default shell when using adduser/useradd
- Next message: [Centos] how to change default shell when using adduser/useradd
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list