All of lore.kernel.org
 help / color / mirror / Atom feed
* sudo'ers, I need help!
@ 2003-07-20 19:44 Benjamin Walkenhorst
  2003-07-21  9:52 ` thomas.wallrafen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Benjamin Walkenhorst @ 2003-07-20 19:44 UTC (permalink / raw)
  To: linux-admin

-----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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-07-21 16:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-20 19:44 sudo'ers, I need help! Benjamin Walkenhorst
2003-07-21  9:52 ` thomas.wallrafen
2003-07-21 16:10 ` Thanks for help! Benjamin Walkenhorst
2003-07-21 16:23 ` sudo'ers, I need help! - Luis -

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.