shutdown by regular user

Petter Adsen petter at synth.no
Thu Mar 26 11:10:13 UTC 2015


On Thu, 26 Mar 2015 07:03:53 -0400
william drescher <william at TechServSys.com> wrote:

> How can a non-privileged user initiate a shutdown.
> 
> There is one person with an administrative account and sudo 
> privleges.  There are 3 others with no account.  Frequently, in 
> case of emergency shutdown the admin user is not available.
> 
> I would like to set up a regular user but make it possible for 
> that user to run shutdown. In Unix I would use asroot, but Ubuntu 
> 14.4 LTS does not have that.
> 
> How can I do this.
> 
> -bill
> 
> 

You can set up sudo to run specific commands as root or other users.
See "man sudoers".

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/20150326/1371e74d/attachment.sig>


More information about the ubuntu-users mailing list