Re:Git-repo – Manage Gitlab, GitHub and Bitbucket from the c...
by 0xmohit on Monday October 10, 2016 @01:11PM
(#12678406)
Please remove backticks from the command. What if you called the branch `poweroff` instead and a naive reader copy/pasted the command into her terminal?
[ Parent
| on HN ]
Re:Git-repo – Manage Gitlab, GitHub and Bitbucket from the c...
by icebraining on Monday October 10, 2016 @01:31PM
(#12678540)
poweroff: Need to be root
Re:Git-repo – Manage Gitlab, GitHub and Bitbucket from the c...
by chainsaw10 on Monday October 10, 2016 @02:15PM
(#12678832)
Some recent distros will actually let you run that as yourself, without root, if you're physically present at the machine. It's convenient for personal machines.
Re:Git-repo – Manage Gitlab, GitHub and Bitbucket from the c...
by 0xmohit on Monday October 10, 2016 @01:35PM
(#12678568)
One might have sudo privileges configured via /etc/sudoers (It's the default on AWS EC2 instances!)
Re:Git-repo – Manage Gitlab, GitHub and Bitbucket from the c...
by icebraining on Monday October 10, 2016 @01:54PM
(#12678696)
Yes, but you still need to call "sudo poweroff", not just "poweroff".