[Centos] how to change default shell when using adduser/useradd
Alexander Dalloz
ad+lists at uni-x.org
Mon Feb 21 14:56:27 UTC 2005
Am Mo, den 21.02.2005 schrieb Michiel van Es um 15:46:
> 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?
useradd --help --> -s Shell
So just use that parameter like "-s /bin/false".
Alexander
--
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.10-1.14_FC2smp
Serendipity 15:55:04 up 3:03, 17 users, 2.52, 1.61, 1.05
More information about the CentOS
mailing list