I hope not.Is there a GUI software where I can manage users from root.
I hope you've assigned them separate user names & accounts, group etc. (ie. not sharing user pi's access) and not given them sudo privileges! W/o "root" access via sudo and where necessary setting file/directory permissions appropriately that should prevent most things (and, of-course, change the pi password {again?} to something they don't know and is difficult to guess). No special (GUI-based) software needed - hint:BioHazard1282 wrote: ↑Sun Dec 01, 2019 3:00 pmI hope there is because I have 3 other siblings who use my Pi for schoolwork and stuff (I use four Pis for much better performance) and I need a software to manage them so they don't download or delete important files. If there is one I really need to know.
Code: Select all
[email protected]:~ $ apropos user | grep add
adduser.conf (5) - configuration file for adduser(8) and addgroup(8) .
addgroup (8) - add a user or group to the system
adduser (8) - add a user or group to the system
pam_issue (8) - PAM module to add issue file to user prompt
useradd (8) - create a new user or update default new user information
Not quite correct (unless you've enabled a "root" user). There are no such things as "sudo commands" but sudo provides a password/passwordless mechanism for users with sudo privileges to execute commands which normally require "root"privileges. By default the "pi" user uses passwordless sudo. When a "sudo" password is required it's usually that of the user with sudo access (not that of any "root" user that exists). IIRC, the sudo mechanism can limit access to various actions,device etc. but, more often, group membership and associated permissions are used to restrict "ordinary" user behaviour (protect files, directories etc.). For example the pi user is a member of these groups (gid's):BioHazard1282 wrote: ↑Sun Dec 01, 2019 4:48 pmThey do not have sudo privileges, but they need the root password to execute sudo commands. They can't delete OS files and install/remove software. They also need their password to change settings and configs.
Code: Select all
[email protected]:~ $ id
uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),105(input),109(netdev),997(gpio),998(i2c),999(spi)
You really can't divide it up like that. If you are allowing users to have root access, either through root login or sudo, then they have root access. There are not levels of root access. Given them sudo lets them change/modify/delete everything. You can do funky stuff like mount the OS read only, but they would still have the ability to change the setup.BioHazard1282 wrote: ↑Sun Dec 01, 2019 4:48 pmThey do not have sudo privileges, but they need the root password to execute sudo commands. They can't delete OS files and install/remove software. They also need their password to change settings and configs.