[PLUG] Allow user to shutdown host

Rich Shepard rshepard at appl-ecosys.com
Wed Feb 27 22:31:04 UTC 2019


On Wed, 27 Feb 2019, Rich Shepard wrote:

> Saw a web blog post that suggests I if add to her ~/.bash_rc the following
> alias
>
> alias halt='alias=`sudo ` halt'
>
> all she'd need to type is halt. Does this look workable?

Nah. But this:

alias "sd=sudo "

would allow her to type

sd halt

according to superuser.com.

Rich



More information about the PLUG mailing list