Glenn English wrote:
The only user in my sudoers is root.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 includes: username ALL=NOPASSWD: /sbin/halt and the shutdown calls sudo halt So you mean that whenever I use Gnome I'm running with root permissions? That's not possible, I cannot think about a worst security problem than this.Another: gdm is a startup script, so it's running as root. And it starts gnome, so that is too. So when you log out, you're talking to root?? Anyway, why when I use KDE it doesn't happen? GDM starts KDE too, so it should be the same. -- Cheers -- Gabriel Parrondo Linux User #404138 "In theory there's no difference between the theory and the practice. In the practice There is." |