On Fri, Mar 09, 2001 at 07:43:56AM -0800, Ray Olszewski wrote:
> The usual way to do something like this is to invoke the suid bit, which
[...snipped...]
> At 09:17 AM 3/9/01 -0500, [EMAIL PROTECTED] wrote:
> >I have a little puzzle.
> >
> >User would like to start some backup software that must be run by
> >root. This happens often enough so that it would be convenient to put
My vote comes out strongly in favor of sudo, a utility to explicitly
give one (or more) users the permission to run one (or more)
programs that require root permissions. From the sudo manpage:
DESCRIPTION
sudo allows a permitted user to execute a command as the
superuser or another user, as specified in the sudoers
file. The real and effective uid and gid are set to match
those of the target user as specified in the passwd file
(the group vector is also initialized when the target user
is not root). By default, sudo requires that users
authenticate themselves with a password (NOTE: this is the
user's password, not the root password). Once a user has
been authenticated, a timestamp is updated and the user
may then use sudo without a password for a short period of
time (five minutes by default).
*************
The pertinent commands are sudo and visudo (to edit the config file,
which is commonly /etc/sudoers.
Have Fun!
.b
--
Brian Bilbrey :: [EMAIL PROTECTED] :: www.orbdesigns.com
"In times of great joy, it is a comfort to know
that tragedy is just around the corner." - An Irish proverb
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs