[PLUG] Allow user to shutdown host
Rich Shepard
rshepard at appl-ecosys.com
Wed Feb 27 22:27:38 UTC 2019
On Wed, 27 Feb 2019, Rich Shepard wrote:
> Can I set an alias so when she exits X11 to a console all she needs to type
> is
> sudo halt
> and this will invoke /sbin/shutdown -h now? Gotta' keep in simple here.
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?
Rich
More information about the PLUG
mailing list