chsh 中文man页面

系统
chsh 用于 改变 用户的 登录 shell. 如果 没有在 命令行上 指定 shell, chsh 能够 做出 提示.

名字 (NAME)

chsh - 改变登录 shell

总览 (SYNOPSIS)

chsh [ -s shell ] [ -l ] [ -u ] [ -v ] [ username ]

描述 (DESCRIPTION)

chsh 用于 改变 用户的 登录 shell. 如果 没有在 命令行上 指定 shell, chsh 能够 做出 提示.

有效的 SHELL (VALID SHELLS)

chsh 接受 系统中 任何 可执行文件 的 全路径名称. 然而, 如果 它们 没有 在 /etc/shells 中 列举, chsh 将 发出 警告. 另一方面, 可以 把 chsh 配置成 只接受 这个文件中列举的 shell, 除非 你是 超级用户.

选项 (OPTIONS)

-s, --shell
指定 用户的 登录 shell.
-l, --list-shells
显示 /etc/shells 中的 shell 列表, 然后退出.
-u, --help
显示 使用方法, 然后退出.
-v, --version
显示 版本信息, 然后退出.

另见 (SEE ALSO)

login(1), passwd(5), shells(5)  

#p#

NAME

chsh - change your login shell  

SYNOPSIS

chsh [ -s shell ] [ -l ] [ -u ] [ -v ] [ username ]  

DESCRIPTION

chsh is used to change your login shell. If a shell is not given on the command line, chsh prompts for one.  

VALID SHELLS

chsh will accept the full pathname of any executable file on the system. However, it will issue a warning if the shell is not listed in the /etc/shells file. On the other hand, it can also be configured such that it will only accept shells listed in this file, unless you are root.  

OPTIONS

-s, --shell
Specify your login shell.
-l, --list-shells
Print the list of shells listed in /etc/shells and exit.
-u, --help
Print a usage message and exit.
-v, --version
Print version information and exit.

SEE ALSO

login(1), passwd(5), shells(5)  

责任编辑:韩亚珊 来源: linuxforum.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-11-01 13:46:50

中文mantac

2011-08-25 16:55:26

gets中文man

2011-08-25 15:49:02

freopen中文man

2011-08-25 16:00:56

fflush中文man

2011-08-25 16:08:55

fsetpos中文man

2011-08-25 15:33:18

exit中文man

2011-08-24 17:19:00

raw中文man

2011-08-25 10:55:37

services中文man

2011-08-25 09:35:26

units中文man

2011-08-24 13:57:35

DECLARE中文man

2011-08-11 15:28:43

ali中文man

2011-08-23 17:24:11

userdel中文man

2011-08-23 17:33:22

rdev中文man

2011-08-23 18:05:21

ABORT中文man

2011-08-18 19:15:25

group中文man

2011-08-23 10:17:54

bdflush中文man
点赞
收藏

51CTO技术栈公众号