[Centos] how to change default shell when using adduser/useradd

Michiel van Es

michiele at info.nl
Mon Feb 21 14:46:53 UTC 2005


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



More information about the CentOS mailing list