shells 中文man页面

系统
/etc/shells 是一个文本文件,其中包含有效登录 shell 的路径全名。 chsh(1) 需要参考这个文件,并且其他程序也可以查询该文件。有些程序从这个文件判断用户是不是标准用户。比如: ftp 守护进程一般不会允许那些所用的 shell 没有在该文件中注明用户访问。

NAME [命令名]

shells - 有效登录 shell 的路径名  

描述

/etc/shells 是一个文本文件,其中包含有效登录 shell 的路径全名。 chsh(1) 需要参考这个文件,并且其他程序也可以查询该文件。有些程序从这个文件判断用户是不是标准用户。比如: ftp 守护进程一般不会允许那些所用的 shell 没有在该文件中注明用户访问。  

实例

/etc/shells 可能包含以下路径:

/bin/sh
/bin/csh

相关文件

/etc/shells  

又见

chsh(1),getusershell(3)  

#p#

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.  

EXAMPLES

/etc/shells may contain the following paths:

/bin/sh
/bin/csh

FILES

/etc/shells  

SEE ALSO

chsh(1), getusershell(3)

责任编辑:韩亚珊 来源: CMPP.net
相关推荐

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-25 15:39:42

fcloseall中文man

2011-08-25 15:00:15

cfgetispeed中文man

2011-08-19 18:35:50

issue中文man

2011-08-25 17:03:51

pclose中文man

2011-08-25 17:40:25

setvbuf中文man

2011-08-23 14:21:16

poweroff中文man

2011-08-24 15:52:59

intro中文man

2011-08-23 13:40:31

2011-08-25 15:54:08

ferror中文man

2011-08-25 17:24:54

puts中文man

2011-08-25 18:34:55

ungetc中文man

2011-08-23 10:03:40

useradd中文man

2011-08-23 10:29:02

chpasswd中文man

2011-08-23 10:34:22

convertquot中文man

2011-08-23 15:39:34

rpmbuild中文man

2011-08-24 15:48:38

INSERT中文man
点赞
收藏

51CTO技术栈公众号