Information Technology Reference
In-Depth Information
Create git user:
# Guest OS (Ubuntu 12.04)
$ sudo adduser --disabled-password --shell /usr/bin/
git-shell --gecos Git git
Initializing a new repository
To create a new repository that can be accessed by all team members, the administrator
(i.e., vagrant user) executes the following commands:
# Guest OS (Ubuntu 12.04)
# Command executed by vagrant user
$ sudo git init --bare /home/git/lorem.git
$ sudo chown -R git:git /home/git/lorem.git
Use the above two commands every time you want to create a new repository shared
by your team.
Creating a new account
In this recipe you work as one of the developers. Let his name be Peter. First, we need
an account for Peter. This is done by the administrator with the following command:
# Guest OS (Ubuntu 12.04)
# Command executed by vagrant user
$ sudo adduser --disabled-password peter --gecos Peter
Logging into Peter's account
Log into Peter's account with the following commands:
# Guest OS (Ubuntu 12.04)
# Commands executed by vagrant user
$ sudo su - peter
When I say that the command should be executed by Peter as in:
Search WWH ::




Custom Search