All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Walkenhorst <krylon@gmx.net>
To: linux-admin@vger.kernel.org
Subject: sudo'ers, I need help!
Date: Sun, 20 Jul 2003 21:44:21 +0200	[thread overview]
Message-ID: <S267852AbTGTT3b/20030720192931Z+3637@vger.kernel.org> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello everybody,

I use SuSE Linux 7.3 Professional (with linux-2.4.20 + cryptoapi and 
cryptoloop patches) on a Pentium III 450 with 256 MB of RAM. It is a single 
machine, no local network, just the ISDN adapter for internet. 
Being both the only user and the administrator, I use a non-root account for 
everyday work and mostly su to root, if I need root privileges. But often 
there is just a single command I want to run or a single file I want to edit 
(like building a new kernel and re-running /sbin/lilo or editing /etc/fstab), 
and I am aware of the sudo command allowing users to run a command with root 
privileges without having to authentify as root and avoiding the risks of 
suid-bits. For users to run sudo <command>, root has to edit /etc/sudoers and 
add an entry like "user_X is allowed to run command_y as root. 

But I don't know about the file format: there is a manpage on this file, but 
I didn't find it to be any help. 
Can anyone explain this file to me? Give some nice examples, maybe? Or tell 
me if there is some kind of HOWTO? If found a German introduction, but I 
still don't know how to do this. ;-( 
What I want to learn is allow userX to run some commands like vi, make, cp, 
lilo, mount, ... as root. 
SUID is not what I want, since I do not always want to run these commands as 
root, just sometimes. 

Or might sudo not be what I am looking for?

Thank you very much,

Kind regards,

Benjamin Walkenhorst

- -- 
"Der Hoffnung beraubt sein,
 heiflt noch nicht - verzweifeln."
(Albert Camus)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Public Key available at http://www.krylon.de

iD8DBQE/GvEcoYumWdMvhMQRAiCTAJ9SGUDd4uiUh6+sPoYkOch4VukcIQCgibMz
TaXxMj6qodvlbSiV/IK0S3k=
=d3Mx
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2003-07-20 19:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-20 19:44 Benjamin Walkenhorst [this message]
2003-07-21  9:52 ` sudo'ers, I need help! thomas.wallrafen
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=S267852AbTGTT3b/20030720192931Z+3637@vger.kernel.org \
    --to=krylon@gmx.net \
    --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.