Linux useradd命令
创始人
2024-11-14 21:33:33
0

0 Preface/Foreword

1 useradd介绍

 该命令是系统管理命令(System management command)。

useradd - create a new user or update default new user information

1.1 描述

useradd is a low level utility for adding users. On Debian, administrators should usually use adduser instead. 

When invoked without the -D option, the useradd command creates a new user account using the values specified on the command line plus the default values from the system. Depending on command line options, the useradd command will update system files and may also create the new user's home directory (主目录,根目录) and copy intial files.

1.2 --comment

-c, --comment COMMENT  

 Any text string. It is generally a short description of the login, and is currently used as the field for the user's full name.

1.3 --create-home 

-m, --create-home 

Create the user's home directory if it does not exist. The files and directories contained in the skeleton directory (which can be defined with the -k) will be copied to the home directory.

1.4 --shell

-s, --shell SHELL 

 The name of the user's login shell. The default is to leave the field blank, which causes the system to select the default login shell specified by the SHELL variable in /etc/default/useradd, or an empty string by defaut.

相关内容

热门资讯

透视免费!aapoker透视怎... 透视免费!aapoker透视怎么用,aapoker透视脚本下载,详细教程(有挂插件)1、构建自己的a...
重要通知!(aapokER)总... 重要通知!(aapokER)总是是真的有挂,aapoker透视辅助,透视教程(有挂方法);实战中需综...
透视辅助!德普之星辅助软件,德... 透视辅助!德普之星辅助软件,德普之星透视免费,可靠技巧(有挂介绍);透视辅助!德普之星辅助软件,德普...
透视攻略!we poker插件... 透视攻略!we poker插件(透视)都是真的是有挂(细节方法)在进入we poker插件辅助挂后,...
透视黑科技!aapoker怎么... 透视黑科技!aapoker怎么设置提高好牌几率,aapoker透视怎么用,扑克教程(有挂辅助);aa...
透视游戏!德普之星透视软件免费... 透视游戏!德普之星透视软件免费入口官网,德普之星私人局透视,2024新版教程(有挂方法)是一款可以让...
程序员教你!(AAPOker)... 1、程序员教你!(AAPOker)确实存在有挂,aapoker辅助工具,详细教程!(有挂黑科技);该...
透视教程!WePOker有没有... 透视教程!WePOker有没有透视方法(透视)原来是有挂(必备教程)1、全新机制【WePOker有没...
透视代打!aapoker辅助插... 透视代打!aapoker辅助插件工具,aapoker辅助器怎么用,黑科技教程(有挂细节);1、全新机...
透视真的!德普之星透视,德普之... 透视真的!德普之星透视,德普之星辅助器app,专业教程(有挂详情);透视真的!德普之星透视,德普之星...