Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
add comment

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

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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