Le vendredi 20 novembre 2009 à 04:40 +0000, concepts a écrit :
> Yet, when I try anything, I STILL get;
> 
> ar...@aries:~$ ls -l `which sudo`
> -rwsr-xr-x 1 aries root 123448 2009-06-22 12:14 /usr/bin/sudo
> ar...@aries:~$ sudo apt-get install super
> sudo: must be setuid root
> ar...@aries:~$

Yes, the sudo program is running "setuid aries". The third and fourth
fields in the output of `ls' are the owner and group of the file,
respectively. A program with the setuid bit set (shown as an `s' in the
first field) will run with the privileges of the program file's owner.
So the owner of /usr/bin/sudo must be root for "setuid root" to work. To
change this back to correct settings, use:

  chown root:root /usr/bin/sudo

with root privileges (such as when running in recovery mode.)

Good luck!

-- 
Philippe Gauthier <[email protected]>
http://www.deuxpi.ca/



_______________________________________________
mlug mailing list
[email protected]
https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca

Reply via email to