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透视辅助!wepoker... WPK透视辅助!wepoker有没有挂,wepoker有没有插件(其实是有挂)1、完成wepoker...
wpk透视辅助!智星菠萝有挂吗... wpk透视辅助!智星菠萝有挂吗,wepoker辅助真的假的(本来有挂);1、用户打开应用后不用登录就...
wpk透视辅助!wepoker... wpk透视辅助!wepoker私人辅助器,pokemmo修改器手机版(本来存在有挂)1)pokemm...
wpk透视辅助!hhpoker... wpk透视辅助!hhpoker透视方法,德州局透视脚本免费版下载手机版(原来存在有挂)1、德州局透视...
微扑克透视辅助!wepoker... 微扑克透视辅助!wepoker辅助真的假的,hhpoker怎么开透视(原来真的是有挂)wepoker...
微扑克透视辅助!we-poke... 微扑克透视辅助!we-poker辅助,hhpoker辅助器(一直存在有挂)hhpoker辅助器透视方...
WPK透视辅助!pokemmo... WPK透视辅助!pokemmo手机版修改器,wpk辅助(一贯真的是有挂)小薇(辅助器软件下载)致您一...
微扑克透视辅助!大菠萝手游辅助... 微扑克透视辅助!大菠萝手游辅助,hhpoker底牌透视脚本(好像存在有挂)1、hhpoker底牌透视...
WPK透视辅助!德扑之心免费透... WPK透视辅助!德扑之心免费透视,wpk俱乐部有没有辅助(本来真的是有挂)1、wpk俱乐部有没有辅助...
微扑克透视辅助!哈糖大菠萝挂,... 微扑克透视辅助!哈糖大菠萝挂,impoker辅助(竟然是有挂)1、哈糖大菠萝挂免费辅助多个强度级别选...