passwd.1
来自「操作系统设计与实现源码」· 1 代码 · 共 43 行
1
43 行
.TH PASSWD 1.SH NAMEpasswd, chfn, chsh \- change a login password, full name or shell.SH SYNOPSIS\fBpasswd\fR [\fIuser\fR]\fR.br\fBchfn\fR [\fIuser\fR] \fIfullname\fR\fR.br\fBchfn\fR [\fIuser\fR] \fIshell\fR\fR.br.de FL.TP\\fB\\$1\\fR\\$2...de EX.TP 20\\fB\\$1\\fR# \\$2...SH EXAMPLES.EX "passwd" "Change current user's password".EX "passwd ast" "Change ast's password (super\-user only)".EX "chsh /usr/bin/mail" "For those who only read mail".EX "chfn 'Jane Doe'" "Current user is Jane Doe".SH DESCRIPTION.PP.I Passwdis used to change your password.It prompts for the old and new passwords.It asks for the new password twice, to reduce the effect of a typing error..I Chfnchanges the full name (GECOS field) in the password file..I Chshchanges your login shell.Do not forget to copy the modified password file back to the root file system,or the changes will be lost when the system is rebooted..SH "SEE ALSO".BR login (1),.BR su (1),.BR crypt (3),.BR getpwent (3).
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?