FANDOM


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

  • make sure, that the user and group ids are like on all our systems
    • you can see this with id <user> on the buildhost4
    • ssh <user>@buildhost4.intranet.gr
    • id <user>
    • 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

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.