In my setup, my aim is to have
- A standard user with minimal permissions to use on a daily basis
- A superuser account, defined in
/etc/sudoers.
Does this second user need a home directory? Both of these users will be created by a tempsudo account, which is created during the installation step. I'll delete this account once account #2 is created with this command:
sudo adduser --no-create-home permsudo
Will I run into problems in a graphical environment, e.g. with gksudo? I'm using Linux Mint Debian, so I will be running a desktop environment.
root. Creating a user who's privileges match root but isn't root is not safer, if anything, it is probably worse. There is a superuser account, use that.root's home is/root, yes it needs one, and yes root can use a GUI (you may have to configure your display manager, if you use one, to allow this). Just don't use a web browser or other network client there.superuser==root. "superuser" and "root" are synonymous. You don't have to create another superuser -- it makes no sense. A user who can do anything cannot be compartmentalized from another user who can also do everything, so (to repeat) having two of them is pointless, confusing, etc. There is inevitably, by necessity a root account, root's home is/root. Have a look (you need superuser permissions to do so...). You can log in asroot, use a GUI, do maintenance, etc. The account ALREADY EXISTS.