[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Disabling SU



At 4/24/01 11:29 AM -0700, you wrote:
> >cd /bin
> >chgrp wheel su
> >chmod 750 su
> >chmod +s su
> >
> >that would basically allow only to root and users in the wheel group to
> >run that program.
>
> DANGER WILL ROBINSON! DANGER! One of the things that su does is to setuid
> root; hence it must have the setuid bit for the user created as well. You
> should do:
>
> chmod 4750 /bin/su
>
> instead of what you have above, to put the setuid bit back in place.
>

That's what the chmod +s command does... at least on my machine... ?

Oops... <sheepish grin> never saw that part of your mail... I'm sorry. :) Well, at least I've made it quicker for you next time.


--
Rodolfo J. Paiz
rpaiz@xxxxxxxxxxxxxx