PDA

View Full Version : More conformation then support...



chris-harry
06-14-2005, 08:15 AM
ok, as some of you know i was playing around with lilo... IT WORKED!! thank you to all that helped... but this has nothing to do with what i did, but it does, but it doesnt, but it... well, it'll make more sence once i explain it...

Ok, so there i was as user... and i typed in

"sudo lilo" etc... what came out at the end shocked me!!! :o


Sorry, sudo must be setuid root. <-- those are the exact words it came out with... setuid?? is that a word for something, or a speeling mistake?

Markus
06-14-2005, 07:09 PM
Yup, it's a word. http://en.wikipedia.org/wiki/Setuid

root@mrk-fujibox:/home/markus# chmod u+s /usr/bin/sudo
root@mrk-fujibox:/home/markus# ll /usr/bin/sudo
-rwsr-xr-x 1 root root 97912 Apr 27 13:13 /usr/bin/sudo

Note the rws instead of rwx, meaning the suid bit is set.