To allow users other than root to shut down the computer safely:
1. Start up the userconf utility (you will need the root password)
2. Select "user accounts"
3. Select the user to whom you wish to grant the ability to shut down.
4. Under the "Privileges" tab, activate the "Granted" button next to the "May
shutdown" option.
5. Accept the changes and exit userconf.
Jay
On Monday 30 July 2001 h:44, Ric Tibbetts wrote:
> You need to do a set UID to root, so that it will always run as root, no
> matter who launches. Then control execute permission with the group as
> you're trying to do.
>
> Ric
>
> Darcy Brodie wrote:
> >Yes, I did ensure that I added the users to the shutdown group. Sill does
> > not work
> >
> >Darcy
> >
> >Stephen Boulet wrote:
> >>You did add your users to the group shutdown, right?
> >>
> >>--stephen
> >>
> >>On Saturday 02 June 2001 02:39 pm, Darcy Brodie wrote:
> >>>Stephen Boulet wrote:
> >>>>I find it goofy when changes in permissions take effect. You might have
> >>>>to start a fresh konsole/xterm or logout before it works.
> >>>>
> >>>>On Saturday 02 June 2001 02:17 pm, Darcy Brodie wrote:
> >>>>>Stephen Boulet wrote:
> >>>>>>On Saturday 02 June 2001 01:24 pm, Darcy Brodie wrote:
> >>>>>>>Hello
> >>>>>>> I know that it isn't a good idea to give normal users root
> >>>>>>>access, but I need to set up a couple of Mandrake boxes (they will
> >>>>>>>only be in text mode, as these will be remote terminals to a Unix
> >>>>>>>network) so that a normal user can shut down without having to
> >>>>>>>login as root. The process needs to be as simple as possible, to
> >>>>>>>prevent the user from messing it up
> >>>>>>>
> >>>>>>>Thank you
> >>>>>>>
> >>>>>>>Darcy Brodie
> >>>>>>
> >>>>>>You can make the shutdown command part of a group (say the shutdown
> >>>>>>group).
> >>>>>>
> >>>>>>You can make 'shutdown' be an alias for shutdown -h now or so if you
> >>>>>>want.
> >>>>>>
> >>>>>>-- Stephen
> >>>>>
> >>>>>Thanks for the suggestion. I located both the shutdown and the halt
> >>>>>commands in the /sbin directory, changed their groups to shutdown
> >>>>>(after I created the group), and added the user to that group.
> >>>>>However, when I attempt to run the shutdown command, I get an error
> >>>>>saying
> >>>>>shutdown: must be root
> >>>>>So then I tried the halt. Again, I get the following error
> >>>>>halt: must be superuser
> >>>>>
> >>>>>Both of these commands I have manually entered at the command line to
> >>>>>ensure they were working before I attempted to create any aliases
> >>>>>Here is the output from ls -l for both the shutdown and halt commands
> >>>>>
> >>>>>-rwxr-xr-x 1 root shutdown 15452 Mar 8 02:37
> >>>>>shutdown* -rwxr-xr-x 1 root shutdown 7848 Mar 8
> >>>>>02:37 halt*
> >>>>>
> >>>>>Darcy
> >>>
> >>>That is understandable, I guess. However, since I made the changes, I
> >>> have not only logged out, but also rebooted Linux completely. Still
> >>> not working
> >>>
> >>>Darcy
--
I used to think I had an appetite for destruction, but all I really wanted
was a club sandwich.