This might be a very naive question, but I wanted to know how I could give multiple users access to a single computer without making them root users. How would I give them limitted sudo access such that they could still issue commands like
sudo apt-get install epstopdf
I imagine this could be an incredibly stupid question as once root user access is given, they could do whatever they want. Therefore, is there any way around this? I am open to suggestions
sudo apt-get install
lead to problems by, for example, installing a program which doesrm -f -r /
? – puk Oct 31 '11 at 20:43sudo rm -rf /
and the instructions I gave are only to enablesudo apt-get install
, even if you enable a PPA that has that kind of code, even if you install it without really knowing what you are doing and the program tries to run he wont have access... You did not give yourselfsudo rm
permition, onlysudo apt-get install
. Its the safest approach to a insecure situation ;) – Bruno Pereira Oct 31 '11 at 20:50sudo /usr/bin/apt-get install
with no parameters. If a package name is added then sudo asks for a password and gives a "Sorry..." error. – Paul Jun 05 '15 at 05:03%
holds significance in that file. Should they be removed or left behind? why even use them at all in the example? – Daniel Kaplan Feb 02 '22 at 06:47