I want to create a user with administrative privileges and all the regular setups like home directory.
- Is there a
adduser
parameter to give the usersudo
powers automatically? - What are the default settings for
adduser
? Will it automatically create home directories and all the other things without extra parameters? (i.e. isadduser <username>
enough?)
useradd
for a new user notadduser
.adduser
is more interactive, anduseradd
is designed for scripts.