shutdown by regular user
Petter Adsen
petter at synth.no
Fri Mar 27 12:02:52 UTC 2015
On Fri, 27 Mar 2015 16:24:44 +1100
Karl Auer <kauer at biplane.com.au> wrote:
> On Thu, 2015-03-26 at 17:37 -0400, Niles Rogoff wrote:
> > > - have a setuid script that shuts the system down
>
> Useful if the grouping technique is too unwieldy, or if the shutdown
> needs to happen via an icon-click, without typing stuff (including
> without typing a password).
You could also set up an icon that simply runs shutdown, and enter the
users that need to be able to run it into sudoers with the NOPASSWD
option, then there would be no password request, and no need for a
setuid script, and you would have accountability for who actually shut
the system down.
Just my 0.02NOK :)
Petter
--
"I'm ionized"
"Are you sure?"
"I'm positive."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150327/30c6277f/attachment.sig>
More information about the ubuntu-users
mailing list