chsh.1

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1 代码 · 共 40 行

1
40
字号
.\" SCCSID: @(#)chsh.1	6.1	4/27/89.TH chsh 1.SH Namechsh \- change login shell.SH Syntax.B chsh[\fIloginname\fR].SH Description.NXR "chsh program".NXR "login shell field" "changing"The.PN chshcommand is a command similar to.PN passwd ,except that it is used to change the login shell field of the passwordfile rather than the password entry.The program will prompt you for a new shell. The shell name supplied mustmatch one of the entries in /etc/shells. If no name is given theshell will be unchanged and the diagnostic "Login shell unchanged"will be printed..PPAn example use of this command is:.PP.EX	% \fBchsh\fP	Changing login shell for bill	Shell [/bin/csh]: \fBsh\fP.EE.SH RestrictionsBoth the new shell and the old shell must be found in /etc/shells to beable to change the shell..PPIf the passwd entry is distributed from another host.PN chshwill not modify it..SH Files/etc/shells.SH See Alsochfn(1), passwd(1), yppasswd(1yp), passwd(5yp)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?