|
|
Maintenance scripts from non-root?
|
|
|
|
Forum Regular
Join Date: Jan 2005
Status:
Offline
|
|
I never log in as root on my computer and have a program which does maintenance from non root user. No problems?
|
|
|
|
|
|
|
|
|
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status:
Offline
|
|
Eh... Well, maintenance scripts are run regularly as root by a program called cron, which starts when OS boots - who is logged in at that point doesn't matter. Any maintenance done with say Disk Utility or similar (basically any app where you have to enter you password to do something) will run as root as well. Generally you're not supposed to log in as root at all, and I don't think I've done so since the dark days when OS X was new.
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Are you suggesting that this program is circumventing privileges by doing things that it shouldn't?
Don't bother with so-called "maintenance" applications, they are pointless. Modern OSes are not like cars that need tuneups every once in a while.
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Jan 2005
Status:
Offline
|
|
Originally Posted by besson3c
Are you suggesting that this program is circumventing privileges by doing things that it shouldn't?
Don't bother with so-called "maintenance" applications, they are pointless. Modern OSes are not like cars that need tuneups every once in a while.
I am using Main Menu.
|
|
|
|
|
|
|
|
|
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status:
Offline
|
|
Originally Posted by besson3c
Are you suggesting that this program is circumventing privileges by doing things that it shouldn't?
No. Those binaries are setuid root, meaning that they can execute as if they were root. If they were written according to Apple's guidelines, they will require you to enter an your password and you have to be in the sudoers group to do anything that requires root access.
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
So it requires an admin user. I just wanted clarity on whether the original poster felt that this was a problem, I didn't mean to imply that it is.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|