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.

相关内容

热门资讯

透视辅助!wpk挂在哪里买到真... >>您好:wpk挂在哪里买到真的确实是有挂的,很多玩家在这款游戏中打牌都会发现很多用户的牌特别好,总...
透视计算!hhpoker透视脚... 透视计算!hhpoker透视脚本,wejoker手机版透视脚本,演示教程(竟然有挂)-哔哩哔哩1、每...
透视黑科技!模拟器打开hhpo... 透视黑科技!模拟器打开hhpoker(透视)确实真的有挂,力荐教程(有挂科技)-哔哩哔哩1、进入到模...
开挂辅助工具!WePoKer有... 无需打开直接搜索;操作使用教程:开挂辅助工具!WePoKer有没有透视软件挂,wepoker透视挂真...
五分钟开挂!aa poker透... 五分钟开挂!aa poker透视软件(透视)确实有挂,微扑克教程(有挂辅助)-哔哩哔哩1、五分钟开挂...
透视能赢!wejoker辅助器... 透视能赢!wejoker辅助器要钱玩吗,wepoker有透视功能吗,积累教程(有挂神器)-哔哩哔哩w...
透视黑科技!we-poker辅... 透视黑科技!we-poker辅助(透视)原来有挂,解密教程(有挂网页版)-哔哩哔哩1、下载好we-p...
透视脚本!wepokerplu... 透视脚本!wepokerplus辅助透视教程,wepoker透视挂教程,(重大科普外挂辅助安装)是一...
透视好友房!aapoker怎么... 透视好友房!aapoker怎么提高中牌率,wepoker辅助透视,经验教程(发现有挂)-哔哩哔哩1、...
第6分钟详情!wepoker私... 第6分钟详情!wepoker私人局透视插件(透视)总是有挂,必赢方法(有挂讲解)-哔哩哔哩1、很好的...