I have install gitlab and as the installation manual says I needed to create a user with disabled login -

I want to install some ruby gems and I need to enter password for "git" user.. I am trying to press enter (for empty password) and the authentication fails.

How I can set password for this user? I have tried passwd but it keeps asking me for the current password which I dont know..

2 Answers 2


You have to change/set the password as root: passwd user will change it.


You don't sign in with that user, you sign in with your normal user and use sudo and su to assume that user's identity:

$ sudo su - git
  • The user is probably git according to this doc
    – Déjà vu
    Commented Mar 23, 2013 at 15:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .