Re: Shutdown w/o root password.

2005-12-22 Thread Wim De Smet
On 12/17/05, Gabriel <[EMAIL PROTECTED]> wrote: > Why I don't need to supply the root password to shutdown the computer from > gnome?... > I've been searching for any option related but didn't find any. > For those that don't know. gdm runs as root, yes. And so does x.org. They have to if they a

Re: Shutdown w/o root password.

2005-12-21 Thread Juergen Fiedler
On Wed, Dec 21, 2005 at 11:19:45AM -0800, Andrew Sackville-West wrote: [...] > if I log in CLI as non-root user, run startx, then what does gdm run as? > root again? just curious. Running startx should not start gdm at all - unless you have a very odd .xinitrc indeed. signature.asc Description:

Re: Shutdown w/o root password.

2005-12-21 Thread Andrew Sackville-West
Glenn English wrote: On Tue, 2005-12-20 at 21:15 -0300, Gabriel wrote: So you mean that whenever I use Gnome I'm running with root permissions? No. When you log in, you're you. It's gdm that runs as root. Do 'ps aux | grep gdm' and look at the username. if I log in CLI as non-root u

Re: Shutdown w/o root password.

2005-12-20 Thread Glenn English
On Tue, 2005-12-20 at 21:15 -0300, Gabriel wrote: > So you mean that whenever I use Gnome I'm running with root > permissions? No. When you log in, you're you. It's gdm that runs as root. Do 'ps aux | grep gdm' and look at the username. > That's not possible, I cannot think about a worst secu

Re: Shutdown w/o root password.

2005-12-20 Thread Gabriel
Glenn English wrote: On Mon, 2005-12-19 at 20:40 -0500, Roby wrote: Gabriel wrote: Why I don't need to supply the root password to shutdown the computer from gnome?... I've been searching for any option related but didn't find any. Any idea? I do

Re: Shutdown w/o root password.

2005-12-19 Thread Glenn English
On Mon, 2005-12-19 at 20:40 -0500, Roby wrote: > Gabriel wrote: > > > Why I don't need to supply the root password to shutdown the computer > > from gnome?... > > I've been searching for any option related but didn't find any. > > > > > > Any idea? > > > I don't use gnome, but here's one way.

Re: Shutdown w/o root password.

2005-12-19 Thread Roby
Gabriel wrote: > Why I don't need to supply the root password to shutdown the computer > from gnome?... > I've been searching for any option related but didn't find any. > > > Any idea? > I don't use gnome, but here's one way. If /etc/sudoers includes: username ALL=NOPASSWD: /sbin/halt and

Re: reply-to munging (Re: Shutdown w/o root password.)

2005-12-19 Thread Mike McCarty
Jon Dowland wrote: On Sat, Dec 17, 2005 at 10:11:43PM -0300, Gabriel wrote: And please, I know sometimes happens, but send the replys to the list. That's why we all should add a reply-to field on the messages we send to the list. (although I forgot to do this with this message :-P) No, we sh

reply-to munging (Re: Shutdown w/o root password.)

2005-12-18 Thread Jon Dowland
On Sat, Dec 17, 2005 at 10:11:43PM -0300, Gabriel wrote: > And please, I know sometimes happens, but send the replys to the list. > That's why we all should add a reply-to field on the messages we send > to the list. (although I forgot to do this with this message :-P) No, we shouldn't :) See arch

Re: Shutdown w/o root password.

2005-12-17 Thread Gabriel
Paolo Pantaleo wrote: 2005/12/17, Gabriel <[EMAIL PROTECTED]>: Why I don't need to supply the root password to shutdown the computer from gnome?... I've been searching for any option related but didn't find any. Any idea? -- Cheers -- Gabriel Parrondo Linux User #404138 "In

Re: Shutdown w/o root password.

2005-12-17 Thread Peter Nuttall
On Sat, Dec 17, 2005 at 09:38:35AM -0300, Gabriel wrote: > Why I don't need to supply the root password to shutdown the computer > from gnome?... > I've been searching for any option related but didn't find any. > > > Any idea? > Do you have gdm installed? When I used KDE, if you had kdm instal

Shutdown w/o root password.

2005-12-17 Thread Gabriel
Why I don't need to supply the root password to shutdown the computer from gnome?... I've been searching for any option related but didn't find any. Any idea? -- Cheers -- Gabriel Parrondo Linux User #404138 "In theory there's no difference between the theory and the practice. In the prac