Still with this stupid question: how to remove "su" access for all users but root and 2 others.
(i work on "su_old", a copy of "su", preventing making errors...)
when I do:
# ls -ll su*
-r-sr-xr-x 1 root bin 20480 Jun 10 1996 su
-r-sr-xr-- 1 root sys 20480 Dec 4 16:39 su_old
so first for any reason as i copied "su" to "su_old" (which i work with at the moment for test purposes), it chaged the group from "bin" to "sys"... i dunno why.
THEN,
I made a "#chmod o-x su_old", thinking nobody else but users belonging to group "sys" would be able to use "su_old". But now with my user belonging to the group "sys", I'm have no more permissions to execute "su_old".
Sorry, but I'm a bit lost... as "su_old" has a group permission from read & execute, why does my user belonging to group "sys" have no rights to execute???
I'm sure it's sooo stupid easy, but I don't understand.....
thnx again
(i work on "su_old", a copy of "su", preventing making errors...)
when I do:
# ls -ll su*
-r-sr-xr-x 1 root bin 20480 Jun 10 1996 su
-r-sr-xr-- 1 root sys 20480 Dec 4 16:39 su_old
so first for any reason as i copied "su" to "su_old" (which i work with at the moment for test purposes), it chaged the group from "bin" to "sys"... i dunno why.
THEN,
I made a "#chmod o-x su_old", thinking nobody else but users belonging to group "sys" would be able to use "su_old". But now with my user belonging to the group "sys", I'm have no more permissions to execute "su_old".
Sorry, but I'm a bit lost... as "su_old" has a group permission from read & execute, why does my user belonging to group "sys" have no rights to execute???
I'm sure it's sooo stupid easy, but I don't understand.....
thnx again