Add an additional user, stick with the defaults, will not have sudo rights:
sudo adduser usernamesudo deluser username
# also delete his home directory
# hint: when the user was previously logged in, the command might fail to delete the home directory, but will not tell you it failed
sudo deluser --remove-home usernameAllow user to perform specific commands without being explicitly in sudo group or requiring password input
$ sudo visudo
# at the bottom of the sudoers file add following lines to enable non sudo users to update and upgrade system
username ALL = NOPASSWD: /usr/bin/apt update
username ALL = NOPASSWD: /usr/bin/apt upgrade -y
# commands must be exactly performed as written in sudoers file, e.g.:
$ sudo apt update
$ sudo apt upgrade -yVariant 1: Create a new user "guest" with home directory in /tmp/home/guest
sudo adduser guest --home /tmp/home/guestVariant 2: Change the home directory for an already existing user "guest":
sudo usermod -d /tmp/home/guest guest
# erase the old home folder of user guest with rm if neccessaryVerify the changes:
grep guest /etc/passwdThe "temporary" home directory will be cleared after a reboot of the system.