|
|||||||||||
|
Re: SUDO
From: Michael Pobega <pobega(at)gmail.com>
Date: Mon Dec 03 2007 - 11:47:54 EST
On Mon, Dec 03, 2007 at 05:27:17PM +0100, Dan H wrote:
Using sudo the way Jostein suggested is just as open to problems as logging in as root is, and should be avoided at all costs. Sudo was made to save the user from hassle, for example, to play Wesnoth I need to have access to the SDL framebuffer, but since you need to have root permissions to access it I granted myself permissions just to Wesnoth. pobega ALL=NOPASSWD /usr/games/wesnoth And aliased in my shell: alias wesnoth 'sudo /usr/games/wesnoth' So when I run `wesnoth`, the framebuffer is automagically started and I'm granted root permissions just for this one operation. At least, that's how I think sudo should be used. I suppose you could take ten people and they'd each find different uses for a single program, but sudo is in NO WAY a replacement for su.
iD8DBQFHVDM6g6qL2BGnx4QRAqhKAJ9XK9mdoEYkZzHzuv+w3mqqj1kRxgCeJBYG
R3vVZd1pH3Xt/M7VHuRS5so=
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Mon Dec 3 11:48:42 2007 This archive was generated by hypermail 2.1.8 : Tue Feb 26 2008 - 18:11:22 EST |
||||||||||
|
|||||||||||