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.

相关内容

热门资讯

值得注意的是!wepoker游... 值得注意的是!wepoker游戏的安装教程,pokemmo脚本,竟然存在有挂(有挂透视)1、进入到w...
来临!哈糖大菠萝挂法,wejo... 来临!哈糖大菠萝挂法,wejoker手机版透视脚本,竟然真的是有挂(有挂总结)1、全新机制【wejo...
明白辅助挂!hhpoker透视... 明白辅助挂!hhpoker透视脚本下载,哈糖大菠萝挂,都是是真的有挂(有挂秘笈)暗藏猫腻,小编详细说...
总结辅助挂!约局吧辅助器,佛手... 总结辅助挂!约局吧辅助器,佛手大菠萝辅助,好像真的有挂(有挂秘诀)1)佛手大菠萝辅助有没有挂:进一步...
此事引发广泛关注!hhpoke... 此事引发广泛关注!hhpoker真的假的,wepoker透视有没有,竟然存在有挂(新版有挂)1、全新...
黑科技辅助挂!wepoker辅... 黑科技辅助挂!wepoker辅助真的假的,扑克之星辅助,果然是真的有挂(有挂规律)进入游戏-大厅左侧...
值得注意的是!aapoker透... 值得注意的是!aapoker透视插件,wepoker私人局开挂视频,真是是有挂(有挂教程)1、每一步...
来临!wpk插件辅助,智星菠萝... 来临!wpk插件辅助,智星菠萝透视,好像确实有挂(真的有挂)1、任何智星菠萝透视透视是真的假的的玩家...
在玩家背景下!佛手在线大菠萝智... 在玩家背景下!佛手在线大菠萝智能辅助器,wepoker辅助软件价格,总是确实有挂(有挂解密)1、佛手...
据玩家消息!有没有人wepok... 据玩家消息!有没有人wepoker,pokerworld软件,切实真的有挂(有挂助手)1、下载好有没...