News for hackers. Stuff that matters.
Re:Git-repo – Manage Gitlab, GitHub and Bitbucket from the c... by 0xmohit on Monday October 10, 2016 @01:11PM (#12678406)

  then you watch the code, create a branch:
  git checkout -b `bugfix/nasty_one`
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?
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".
Re:Git-repo – Manage Gitlab, GitHub and Bitbucket from the c... by avhon1 on Monday October 10, 2016 @10:17PM (#12681438)
See user chainsaw10. Anecdotally, on my vanilla Arch systems, I can run "poweroff" without being root, and without sudo, and the computers will end all processes and turn off.
Re:Git-repo – Manage Gitlab, GitHub and Bitbucket from the c... by guyzmo on Monday October 10, 2016 @02:40PM (#12678991)
Thanks, fixed