From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Walkenhorst Subject: sudo'ers, I need help! Date: Sun, 20 Jul 2003 21:44:21 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: List-Id: Content-Type: text/plain; charset="macroman" To: linux-admin@vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everybody, I use SuSE Linux 7.3 Professional (with linux-2.4.20 + cryptoapi and=20 cryptoloop patches) on a Pentium III 450 with 256 MB of RAM. It is a si= ngle=20 machine, no local network, just the ISDN adapter for internet.=20 Being both the only user and the administrator, I use a non-root accoun= t for=20 everyday work and mostly su to root, if I need root privileges. But oft= en=20 there is just a single command I want to run or a single file I want to= edit=20 (like building a new kernel and re-running /sbin/lilo or editing /etc/f= stab),=20 and I am aware of the sudo command allowing users to run a command with= root=20 privileges without having to authentify as root and avoiding the risks = of=20 suid-bits. For users to run sudo , root has to edit /etc/sudoe= rs and=20 add an entry like "user_X is allowed to run command_y as root.=20 But I don't know about the file format: there is a manpage on this file= , but=20 I didn't find it to be any help.=20 Can anyone explain this file to me? Give some nice examples, maybe? Or = tell=20 me if there is some kind of HOWTO? If found a German introduction, but = I=20 still don't know how to do this. ;-(=20 What I want to learn is allow userX to run some commands like vi, make,= cp,=20 lilo, mount, ... as root.=20 SUID is not what I want, since I do not always want to run these comman= ds as=20 root, just sometimes.=20 Or might sudo not be what I am looking for? Thank you very much, Kind regards, Benjamin Walkenhorst - --=20 "Der Hoffnung beraubt sein, hei=DFt 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=3D =3Dd3Mx -----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