Re: SUDO
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/03/07 13:15, Michael Pobega wrote:
> On Mon, Dec 03, 2007 at 01:07:42PM -0600, Ron Johnson wrote:
>> On 12/03/07 10:47, Michael Pobega wrote:
>>> On Mon, Dec 03, 2007 at 05:27:17PM +0100, Dan H wrote:
>>>> On Mon, 03 Dec 2007 15:47:09 +0100 Jostein Elvaker Haande
>>>> <jehaande@gmail.com> wrote:
>>>>> erik ALL=(ALL) ALL
>>>> I've always heard people discouraging root logins or "su" and using
>>>> sudo instead. I know how sudo works and how to fine-tune system access
>>>> with it, but is the above suggestion in any way different or safer
>>>> than a root login?
>>>> --D.
>>>
>>> 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.
>> Wouldn't it be better to just give the "games" group rw access to
>> the SDL framebuffer, and add yourself to the games group?
>
>
> Perhaps that would be a better approach, how would I go about doing
> that? I've no clue how to grant rw access to the SDL framebuffer, which
> is why I didn't try it that way (That was the first thought to cross my
> mind)
Googling "sdl framebuffer" indicates that what you really mean is
"how do I grant group write privs to the Linux framebuffer".
What does "ls -aFl /dev/fb*" show you?
- --
Ron Johnson, Jr.
Jefferson LA USA
%SYSTEM-F-FISH, my hovercraft is full of eels
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHVFf2S9HxQb37XmcRAvQGAJ99vzTNafYStR1oH2ap4nUHfe+eWACdGobu
fLPB0Zpkp/fI58dViplAG94=
=HvL8
-----END PGP SIGNATURE-----
Reply to:
- Follow-Ups:
- Re: SUDO
- From: Michael Pobega <pobega@gmail.com>
- 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: Ron Johnson <ron.l.johnson@cox.net>
- Re: SUDO
- From: Michael Pobega <pobega@gmail.com>