How come /sbin/nologin is in /etc/shells contradicting the man page?

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

 



SHELLS(5) Linux Programmer’s Manual SHELLS(5)

NAME
shells - pathnames of valid login shells

DESCRIPTION
/etc/shells is a text file which contains the full pathnames of valid
login shells. This file is consulted by chsh(1) and available to be
queried by other programs.

Be aware that there are programs which consult this file to find out if
a user is a normal user. E.g.: ftp daemons traditionally disallow
access to users with shells not included in this file.

EXAMPLE
/etc/shells may contain the following paths:

/bin/sh
/bin/csh

FILES
/etc/shells



> grep ftp /etc/shells
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin

This has led us to hack up the genhomedircon script to remove this from valid shells.



--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers

--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux