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 are

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

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-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

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

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

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 the

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. If /etc/sudoers

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

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

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 installed it

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