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 16:47:37

fwrite中文man

2011-08-25 16:50:08

getc中文man

2011-08-25 16:52:54

getchar中文man

2011-08-25 17:03:51

pclose中文man

2011-08-25 16:22:29

fputc中文man

2011-08-25 16:28:50

fread中文man

2011-08-25 17:27:58

rewind中文man

2011-08-25 17:32:40

setbuffer中文man

2011-08-25 16:10:52

fgets中文man

2011-08-25 15:54:08

ferror中文man

2011-08-23 17:09:56

telinit中文man

2011-08-23 17:42:39

vmstat中文man

2011-08-23 17:49:36

zdump中文man

2011-08-15 15:24:49

wc中文man

2011-08-15 15:36:55

xmodmap中文man

2011-08-15 18:20:04

cut中文man
点赞
收藏

51CTO技术栈公众号