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-11 15:03:21

ACCESS中文man

2011-08-16 10:59:16

pwconv中文man

2011-08-19 18:30:52

ipc中文man

2011-08-25 17:18:07

putc中文man

2011-08-15 13:53:19

stat中文man

2011-08-25 15:24:31

execlp中文man

2011-08-15 18:06:07

restore中文man

2011-08-15 15:45:04

xpdf中文man

2011-08-24 17:06:42

NOTIFY中文man

2011-08-15 14:42:28

uname中文man

2011-08-15 11:30:37

pwd中文man

2011-08-23 14:24:42

ping中文man

2011-08-15 11:01:45

2011-08-25 17:15:16

printf中文man

2011-08-25 16:44:46

ftrylockfil中文man

2011-08-23 17:24:11

userdel中文man
点赞
收藏

51CTO技术栈公众号