Results 1 to 6 of 6
so im messing around i changed the permissions on /usr/bin/fcrontab and borked it all up!!!!! so i need to change it back to ---s--s--- 1 cron cron 39540 Apr 24 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-28-2004 #1
hmmm... a strange permission level
so i need to change it back to
- ---s--s--- 1 cron cron 39540 Apr 24 2004 /usr/bin/fcrontab
- 11-28-2004 #2
That's the setuid bit. It allows the file to elevate the users permissions to superuser. In your case, it allows the group to do this as well (which is the setguid bit).
chmod 6000 whatever"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 11-28-2004 #3
cool you got a setuid and setguid file, with zero permissions - meaning in effect only root can do anything with it... (you could say the permission to be this sentance: "every thing is foridden for this file, and every thing you do (which really is nothing :P) is done as cron (user and group) - only root almighty can change this")
My recomendation, as root, use "chmod" and the power of root
(btw, you really don't want to 'chmod 6000 Ásr/bin/fcrontab' (yes that will setguid and setuid it and remove all other options) -- it'll leave the file use less to everyone but root...)
btw, it seems the permission octet is:
for X: 1 = sticky, 2 = set guid, 4 = set uid (or any "binary or" of them)
for [ugo] = 1 = exec, 2 = write, 4 = read (or any "binary or" of them)
bummer.. saramount beat me... I'm to slow writing detailed answers :P[/edit]Regards Scienitca (registered user #335819 - http://counter.li.org )
A master is nothing more than a student who knows something of which he can teach to other students.
- 11-29-2004 #4
- 11-29-2004 #5
- 11-29-2004 #6
- Join Date
- Jan 2004
(i am using cron on loft306's server )Have a nice day