Thanks.

I had managed to get c-a-d to work, but simply by adding /etc/shutdown.allow
with any old rubbish in it !

I am surprised that there is no option but to use c-a-d and no ability to call
shutdown directly except as root. 'ca::ctrlaltdel:/sbin/shutdown -a -t3 -r now' 
is fine if you want to reboot. Replace the -r with a -h and the system duely
halts instead. But tradition has it that c-a-d is for reboot, shutdown is
for shutdown !!! What I would like to do is add two launch bar buttons for non
root users (especially non techie ones), one to shutdown and one to re-boot. 

Owen

I would also like to be able to click on a URL and have the dial up connection
dialog appear automatically with the option to connect automatically - guess
that's what we've got Window$ for  :-o   ;-)


On Mon, 30 Oct 2000, you wrote:
> On Sunday 29 October 2000 03:30 pm, OS wrote:
> 
> > Is it really impossible for a non root user to run shutdown or init ?
> 
> Of course not.  
> 
> > Moreover, just by simply adding the file shutdown.allow to /etc results in
> > anyone being able to <CTRL><Alt><Del>, it doesn't seem to matter what's in
> > it ! This is a dead give away that I do most of my work as root :-o   But,
> > then I guess everyone else must be, or else they have the patience to dig
> > up a terminal window and su every time they want to log out !!! Great, I'll
> > just give out the root password to all and sundry ;-)  :-)  I did read in
> > some man page or other about 'authorised users'. If this is what I need to
> > do I haven't found the man page that details how to do it. Would some nice
> > person tell me what's what when it comes to using shutdown ?
> 
> You have 2 basic options:
> 
> 0.  man shutdown
> 1.  Edit /etc/shutdown.allow and put in one entry per line for the users that 
> will be on the console and shut be allowed to c-a-d.  For instance, mine 
> actually contains just one entry, and that's the username (NOT root) that I 
> always sign on to.
> 2.edit /etc/inittab and find the foillowing entry:
> ca::ctrlaltdel:/sbin/shutdown -a -t3 -r now 
> remove the -a option.  Refer to 0.
> 
>       .../Ed
> 
> -- 
> Ed Wilts, Mounds View, MN, USA
> mailto:[EMAIL PROTECTED]

Reply via email to