1 Several scripts in this directory will allow you to automate the
2 process of adding users, groups, cvs trees etc. to your machine. These
3 scripts build the /etc/passwd /etc/shadow and /etc/group files based
4 on the contents of your gforge database.
6 WARNING: There are potential security risks. Any gforge project admin could
7 add a user to a project, who would then have unix-level access to your
8 machine. For best security, you should separate the CVS hosting machine from
9 the web/database machine. To do this, simply copy the gforge tarball
10 and configure a new /etc/gforge/local.inc on the cvs machine. You can create
11 a second, read-only database user, and place that user's name/password in
12 the local.inc file. This user only needs read access to the users,groups, and
13 user_group tables. See the postgres manual for information on managing
14 database users and permissions.
16 To use these files, you should first create any default users/groups you
17 want on your machine. YOU MUST CREATE A USER CALLED "anonymous" with /bin/false
18 as its shell. Then copy /etc/group to /etc/group.org, and do the
19 same for /etc/shadow -> /etc/shadow.org /etc/passwd -> /etc/passwd.org
21 The usergroup.php script will build on the .org file and place them in .new
24 WHEN YOU ARE SURE IT WORKS AS EXPECTED, you can change usergroup.php
25 FILE_EXTENSION to '' instead of '.new'