Put username in /etc/shutdown.allow (You may have to create this file)

They may then use Ctrl-Alt-Del as defined in /etc/inittab. r=reboot h=halt

Dennis

Paul Clyne wrote:

> I'm sure someone out there can help me...  (and I also sure this has been
> asked before, so appoligies in advance).
>
> On my home system there are three accounts (root, paul, and dani {my wife})
> how can I allow the non-root accounts acess to the shutdown command ?.
>
> When my wife is using the computer and wants to shut it down she has to su and
> then issue the command. There must be an easier way.  I have been looking at
> the root/wheel/system enteries in the etc/groups file but I don't want to
> assign more rights than I have to to the non-root users.  None of the
> doucumentation I have found so far makes it clear.  I tried adding the names
> to 'wheel' but when the command is issued I get back the command "must be
> root...." and like I said before, I don't want to 'issue' root access to
> everyone..
>
> I suspect there is a read-me that tells me all about it, so can somebody help
> me out.
>
> Thanks
>
> ---------------------------------------------------------------------
> Paul Clyne                                      aka: PAC / PACMAN
>
> at work - [EMAIL PROTECTED]
> at play - [EMAIL PROTECTED]
>
> The future is in our hands. Which way to the future ?
> ----------------------------------------------------------------------

--
---------------------------------------------------------------------
Dennis Grow
[EMAIL PROTECTED]
http://www.primenet.com/~dkgrow
---------------------------------------------------------------------

Reply via email to