All of lore.kernel.org
 help / color / mirror / Atom feed
From: thomas.wallrafen@post.rwth-aachen.de
To: linux-admin@vger.kernel.org
Subject: Re: sudo'ers, I need help!
Date: Mon, 21 Jul 2003 09:52:01 +0000	[thread overview]
Message-ID: <20030721095201.GB15867@isaak> (raw)
In-Reply-To: <S267852AbTGTT3b/20030720192931Z+3637@vger.kernel.org>

[-- Attachment #1: Type: text/plain, Size: 1003 bytes --]

Hi Benjamin!

Thus spoke Benjamin Walkenhorst:
> Or might sudo not be what I am looking for?

Well, sudo is great for a job like this.
For the case you are the only user who wants to run the /sbin/lilo
command i'd suggest you append the following line to your /etc/sudoers
file (using the visudo command as root):

$USERNAME   $HOSTNAME = (root) /sbin/lilo

Please substitute the user and hostname variables to the appropriate
values of your local configuration.


In the case you want to allow multiple users use one command you have to
define an user-alias, a command alias and, if the command is used on
multiple hosts, a host alias like this:

User_Alias LILO_USERS = user1, user2, ... , usern

Cmnd_Alias LILO_CMND = /sbin/lilo

Host_Alias LILO_HOSTS = hosts1, host2, ..., hostn

LILO_USERS  LILO_HOSTS = (root) LILO_CMND

Note that the /etc/sudoers file is case-sensitive!


regards,

    thomas

-- 
/"\
\ / ASCII ribbon campaign
 X  against HTML-mail
/ \

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  reply	other threads:[~2003-07-21  9:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-20 19:44 sudo'ers, I need help! Benjamin Walkenhorst
2003-07-21  9:52 ` thomas.wallrafen [this message]
2003-07-21 16:10 ` Thanks for help! Benjamin Walkenhorst
2003-07-21 16:23 ` sudo'ers, I need help! - Luis -

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030721095201.GB15867@isaak \
    --to=thomas.wallrafen@post.rwth-aachen.de \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.