Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .