News for hackers. Stuff that matters.
Re:GitLab 6.0 Released by sytse on Sunday August 25, 2013 @02:42AM (#6271173)
Good to hear you managed to install without sudo. Does this mean you didn't create the git user? How did you solve the git@ urls for git over ssh connections? Did you use the init.d scripts?
Re:GitLab 6.0 Released by mitchty on Sunday August 25, 2013 @02:58AM (#6271207)
Nope, git user is created, but I just use su to do things as git. If you're running as root using sudo doesn't make sense, thats what su is for.

https://gist.github.com/mitchty/6b9bc8c7dd41cd925b82#file-gi...

Thats basically it, nothing overly special, just switched sudo for su mainly. I could test to see if i'm root and then su or then sudo but don't see a point.

Re:GitLab 6.0 Released by sytse on Sunday August 25, 2013 @03:06AM (#6271215)
I agree. In the installation manual most commands are 'sudo -u git', they run as the git user but they use sudo to make them foolproof (some people skip the instruction to login as the git user).