Difference between revisions of "DEI Subversion Administration"
From AIRWiki
(→Adding a new user) |
|||
Line 6: | Line 6: | ||
* If needed, [[#Creating a new account|Create a new account]] | * If needed, [[#Creating a new account|Create a new account]] | ||
* Edit the file ''trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/authz''; the syntax is described on the [https://svn.ws.dei.polimi.it/authz.plp help page] on the Subversion server. Editing is done in three steps: | * Edit the file ''trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/authz''; the syntax is described on the [https://svn.ws.dei.polimi.it/authz.plp help page] on the Subversion server. Editing is done in three steps: | ||
− | ** Copy the file to your computer using scp: <pre>scp -p <YOUR_USERNAME>@trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/authz /tmp/</pre> | + | ** Copy the file to your computer using scp: <pre>scp -p <YOUR_USERNAME>@trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/authz /tmp/</pre> '''notice that''' if you aren't authorized no errors will be prompted but you can't find authz file on your pc! |
** Edit the file ''/tmp/authz'' | ** Edit the file ''/tmp/authz'' | ||
** Copy the file back to the server: <pre>scp -p /tmp/authz <YOUR_USERNAME>@trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/</pre> | ** Copy the file back to the server: <pre>scp -p /tmp/authz <YOUR_USERNAME>@trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/</pre> |
Revision as of 17:00, 26 February 2010
This page contains instruction for administrator of Subversion repository hosted on the departmental servers.
Adding a new user
To add a new user, do the following:
- Go to https://acme.elet.polimi.it/ and login with your Dei account
- If needed, Create a new account
- Edit the file trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/authz; the syntax is described on the help page on the Subversion server. Editing is done in three steps:
- Copy the file to your computer using scp:
scp -p <YOUR_USERNAME>@trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/authz /tmp/
notice that if you aren't authorized no errors will be prompted but you can't find authz file on your pc! - Edit the file /tmp/authz
- Copy the file back to the server:
scp -p /tmp/authz <YOUR_USERNAME>@trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/
- Copy the file to your computer using scp:
Creating a new account
The best way to create a new account is to ask the user to do it: Let users create their own accounts
This operation can be performed by anyone who has a valid departmental account.
- Go to https://acme.elet.polimi.it/ and login with your Dei account
- Select 'Accounts' -> 'New account'
- Fill in the data (users can subsequently change their passwords)
Let users create their own accounts
This procedure let the users to select all the details of the account, so the supervisor has only to confirm the account.
Instructions for a new user:
- Go to https://acme.ws.dei.polimi.it/request_account.plp and fill the form. Select your supervisor (or colleague, or whatever) from Dei as the "Dei responsible".
- Ask your Dei responsible (e.g., by email) to extend the duration of the account.
Instructions for the Dei responsible to confirm a newly created account
- Login on https://acme.ws.dei.polimi.it/
- Select 'Accounts' -> 'Modify accounts'
- Select the new user from the list
- Click on the 'Extend' button near the expiration date