/bin/false as a login shell

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



Le Mercredi 22 Mars 2006 18:17, Kai Schaetzl a ?crit?:
> I see that /bin/false is not a valid shell by default on CentOS. It is
> f.i. on Suse. /bin/false is present, though. Is there a security reason
> for this? man says that nologin gives feedback that the account is not
> available while false just exits false. Anything against just adding
> /bin/false to /etc/shells?

  I'd say use /sbin/nologin instead.
It's already in /etc/shells, and is able to give a reason about why login 
fails (check its man page for that).

[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