Liste des Groupes | Revenir à col misc |
Root has access to EVERYTHINGI question the veracity of that.
(note that 'sudo' kinda breaks this security measure, so research and set it CAREFULLY). You do NOT have to use 'visudo' ... but then it's on YOU to get it 100% right.
Anything 'vi' I tend to REMOVE because I find line-editors SO offensive these days.So set EDITOR and / or VISUAL and / or FCEDIT to your preferred editor. visudo will happily use them. Or live dangerously.
The SYSTEM doesn't really care about the ID numbers.There are some things that check to see if a UID and / or GID is below a threshold for various reasons.
While there are terminal-line utilities, you can also edit /etc/groups and /etc/passwd using something like 'nano' and add/remove users from the privileges of the root user. DO be CAREFUL ! Get it right. Plenty of docs on the net.Don't forget to edit the shadow counterparts; /etc/gshadow and /etc/shadow respectively. Lest some tools get cranky when files and their shadows don't match.
As for 'sudo' ... there ARE ways to force it to require the ROOT password instead of the regular USER password. This is much more secure.How is having multiple users knowing a shared password more secure than each user only knowing their own password?
Oh, Raspberry Pi's ... 'sudo' often requires NO password. NOT great.Agreed. But that's a distribution configuration, not a software requirement.
Les messages affichés proviennent d'usenet.