Re: SUDO
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, Dec 04, 2007 at 09:10:45AM -0500, Douglas A. Tutty wrote:
> On Mon, Dec 03, 2007 at 11:47:54AM -0500, Michael Pobega 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.
>
> 2. Find an alternative to the SDL framebuffer. Perhaps
> there's a permissions thing that could give members of
> a 'gaming' group or something access to the SDL. Then
> the game could run under that normal user.
>
This would be my choice. But like I said, I have no clue how to give a
user permissions to run the SDL framebuffer. None of the suggestions
have worked for me (At the moment I'm just using
`startx /usr/bin/wesnoth -f`
To run the game.
- --
If programmers deserve to be rewarded for creating innovative
programs, by the same token they deserve to be punished if they
restrict the use of these programs.
- Richard Stallman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHV0Nag6qL2BGnx4QRAn3VAKCdQYYff3EuN7tI9BGBFCC3eJbhcQCcDbCQ
jpn83/6wlCZsVfxn0ptVw34=
=/XS6
-----END PGP SIGNATURE-----
Reply to:
- Follow-Ups:
- Re: SUDO
- From: David Brodbeck <brodbd@u.washington.edu>
- References:
- SUDO
- From: Erik Jakobsen <erik_ja@mail.tele.dk>
- Re: SUDO
- From: Jostein Elvaker Haande <jehaande@gmail.com>
- Re: SUDO
- From: Dan H <dunno@stoptrick.com>
- Re: SUDO
- From: Michael Pobega <pobega@gmail.com>
- Re: SUDO
- From: "Douglas A. Tutty" <dtutty@porchlight.ca>