
NAME [/etc/shells 是一个文本文件,其中包含有效登录 shell 的路径全名。 chsh(1) 需要参考这个文件,并且其他程序也可以查询该文件。 有些程序从这个文件判断用户是不是标准用户。比如: ftp 守护进程 一般不会允许那些所用的 shell 没有在该文件中注明用户访问。 例 /etc/shells 可能包含以下路径: /bin/sh /bin/csh 件 /etc/shells 见 chsh(1),getusershell(3) [Redcandle <redcandle51@chinaren.com > [2000.10.29 linuxan: http://cmpp.linuxforum.net November 21, 1993 SHELLS(5)