shutdown by regular user
Nils Kassube
kassube at gmx.net
Fri Mar 27 05:44:25 UTC 2015
Karl Auer wrote:
> On Thu, 2015-03-26 at 17:37 -0400, Niles Rogoff wrote:
> > The shutdown group with the sudoers file is the correct way to do
> > it.
>
> For the OP - true.
>
> But:
> > > - have a cronjob that checks every minute for a specific file in
> > > /tmp
> > > and shuts down if the file exists
>
> Useful if you have users whose only access is via shared filespace. By
> the way, the cronjob should also delete the file :-)
Not necessarily: /tmp is usually cleared at bootup. :)
> > > - put the system on a UPS, run a UPS client that will shut the
> > > system
> > > down if the power fails, and tell your users to turn off the power
> > > to
> > > the UPS in an emergency.
>
> Useful if you have users with NO access to the CLI, but who CAN access
> the power switch.
Why use the power swtich of the UPS, if the power switch of the computer
does the job. Granted, you can't use this method as an excuse to spend
the money for the UPS. :)
> There is rarely only one right way.
+1
Nils
More information about the ubuntu-users
mailing list