On Tue, 9 May 2006 11:36:42 -0400, Timothy A. Holmes wrote:

> when I go to shut down the laptop, the shutdown command will not work
> from my regular user, I have to su to be able to shutdown -- I use
> fluxbox, and I know this works properly in gnome/kde,  I was just
> wondering if there was a way it could be made to work in fluxbox -- I
> don't mind opening a terminal and typing the command, I would, like to
> be able to avoid having to su though

sudo would seem the obvious solution. Add shutdown to /etc/sudoers for
your user, without a password, and use 'sudo shutdown...' to shutdown.
Use visudo to edit /etc/sudoers, don't edit it directly.


-- 
Neil Bothwick

Three kinds of people: those who can count and those who can't.

Attachment: signature.asc
Description: PGP signature

Reply via email to