Create user on git server

(admin) create user on the server which hosts git (146.124.44.190)

 * make sure, that the user and group ids are like on all our systems
 * you can see this with id on the buildhost4
 * ssh @buildhost4.intranet.gr
 * id
 * amou e.g. is 503

adduser Username: amou Full name: Apostolis M. Uid (Leave empty for default): 503 Login group [amou]: Login group is amou. Invite amou into other groups? []: Login class [default]: Shell (sh csh tcsh bash rbash git-shell nologin) [sh]: git-shell Home directory [/home/amou]: Home directory permissions (Leave empty for default): Use password-based authentication? [yes]: Use an empty password? (yes/no) [no]: Use a random password? (yes/no) [no]: Enter password: Enter password again: Lock out the account after creation? [no]: Username  : amou Password  : ***** Full Name : Apostolis M. Uid        : 503 Class     : Groups    : amou Home      : /home/amou Home Mode : Shell     : /usr/local/bin/bash Locked    : no OK? (yes/no): yes adduser: INFO: Successfully added (amou) to the user database. Add another user? (yes/no): no Goodbye!

change the shell of a user:

bash chsh -s /usr/local/bin/bash rber

gitshell (highly recommended) chsh -s /usr/local/libexec/git-core/git-shell rber