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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Feb 21, 2005 at 03:46:53PM +0100, Michiel van Es 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?
USERADD(8)
       useradd ...
               [-s shell]
                
Cheers,

Tru

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux