I need to change my /bin/su permissions back to the default, which is

-rwsr-xr-x. 1 root root 42436 2009-09-08 04:52 /bin/su

right now it's

-rwxr-xr-x. 1 root root 42436 2009-09-08 04:52 /bin/su

How do I add the s in...? I've never seen that before

link|improve this question

feedback

migrated from stackoverflow.com May 10 '10 at 21:02

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 4 down vote accepted

chmod u+s /bin/su executed by root

link|improve this answer
+1 correct, and more information here en.wikipedia.org/wiki/Setuid – Blorgbeard May 10 '10 at 14:24
Thnx for complementing my answer:). – pajton May 10 '10 at 14:26
thanks that worked like a charm – JiminyCricket May 10 '10 at 14:37
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.