epoch1970;472119 Wrote: 
> On my headless server I find handy that anyone could reboot the machine
> by pressing ctrl-alt-del. 
> Once srvPowerControl is installed "by the book" (I think), this doesn't
> work anymore on debian since /etc/inittab contains:> 
Code:
--------------------
  >   > ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
  > 
--------------------
> >  and an /etc/shutdown.allow file is being created for the user
> squeezeboxserver.
> 
> I removed the "-a" option from inittab to regain the ability to
> shutdown from the keyboard when nobody is logged-in.
> 
> Details in man 8 shutdown, under the title "Access Control"
The SrvrPowerCtrl debian setup script doesn't do anything to
/etc/inittab.   So I'm not sure where that's coming from.  Also, I'm not
completely sure that the /etc/shutdown.allow file is really necessary
for the squeezeboxserver user to shutdown the system.  I'm taking a
'belt+suspenders' approach here.

What do you suggest?  Does this need to become a note in the readme
file?


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to