There was an error while loading. Please reload this page.
Default settings for user creation is found in /etc/default/useradd.
/etc/default/useradd
Example of creating a user with the username "jenni" and a new home directory at /home/jenni/
/home/jenni/
useradd -m jenni
-c "Jennings Zhang"
-s /bin/bash
-U
-G wheel
passwd jenni
Optionally, populate the home directory after logging in with xdg-user-dirs-update.
xdg-user-dirs-update
sudo is used to delegate administrative responsibilities to UNIX users.
sudo
https://help.ubuntu.com/community/Sudoers
# let normal user "jenni" use `apt` (on ALL hosts) jenni ALL= /usr/bin/apt