adduser.8
来自「操作系统设计与实现源码」· 8 代码 · 共 44 行
8
44 行
.TH ADDUSER 8.SH NAMEadduser \- add a new user to the system.SH SYNOPSIS\fBadduser \fIuser group home-dir\fR\fR.br.de FL.TP\\fB\\$1\\fR\\$2...de EX.TP 20\\fB\\$1\\fR# \\$2...SH EXAMPLES.EX "adduser ast other /usr/ast" "How user ast could be added".EX "adduser bin operator /usr/src" "How user bin could be added".SH DESCRIPTION.PP.I Adduseradds a new user to the system by making new entries in.B /etc/passwdand.B /etc/shadowfor the new user, creating a new home directory, and copying the contentsof the template home directory.B /usr/astinto it. The user-id of this new user will be the first free number not lessthan 10. The password is initially empty, the full name must be set, andthe shell is the Bourne Shell,.B /bin/sh .Use.I passwd ,.I chfn ,and.I chshto change..SH "SEE ALSO".BR login (1),.BR passwd (1),.BR passwd (5).
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?