⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 passwd.1

📁 操作系统设计与实现源码
💻 1
字号:


PASSWD(1)                 Minix Programmer's Manual                  PASSWD(1)


NAME
     passwd, chfn, chsh - change a login password, full name or shell

SYNOPSIS
     passwd [user]
     chfn [user] fullname
     chfn [user] shell

EXAMPLES

     passwd              # Change current user's password

     passwd ast          # Change ast's password (super-user only)

     chsh /usr/bin/mail  # For those who only read mail

     chfn 'Jane Doe'     # Current user is Jane Doe

DESCRIPTION

     Passwd is 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.  Chfn changes the full name (GECOS field) in  the  password
     file.  Chsh changes 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.

SEE ALSO
     login(1), su(1), crypt(3), getpwent(3).























                                                                             1

⌨️ 快捷键说明

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