Difference between revisions of "Adduser"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
adduser USERNAME [[sudo]] | adduser USERNAME [[sudo]] | ||
The user `USERNAME` is already a member of `sudo`. | The user `USERNAME` is already a member of `sudo`. | ||
+ | |||
+ | [[Amazon Linux]] | ||
+ | adduser USERNAME -G [[sudo]] | ||
+ | adduser: group 'sudo' [[does not exist]] | ||
+ | adduser USERNAME -G [[admin]] | ||
+ | adduser: group 'admin' does not exist | ||
<code>adduser</code> ([[BusyBox]]) | <code>adduser</code> ([[BusyBox]]) |
Revision as of 11:08, 7 July 2022
adduser USERNAME sudo The user `USERNAME` is already a member of `sudo`.
adduser USERNAME -G sudo adduser: group 'sudo' does not exist adduser USERNAME -G admin adduser: group 'admin' does not exist
adduser
(BusyBox)
adduser YOUR_NEW_USER
adduser BusyBox v1.28.4 (2020-10-07 19:11:37 +04) multi-call binary. Usage: adduser [OPTIONS] USER [GROUP] Create new user, or add USER to GROUP -h DIR Home directory -g GECOS GECOS field -s SHELL Login shell -G GRP Group -S Create a system user -D Don't assign a password -H Don't create home directory -u UID User id -k SKEL Skeleton directory (/etc/skel)
Related commands
See also
Advertising: