Version 6 (modified by 8 years ago) ( diff ) | ,
---|
LcbruTrac HowTo Manage Users
Tags: LcbruTrac Summary HowTo
- Uses Apache basic HTTP authentication and is managed by using the htpasswd utility to manipulate the password file).
- The
htpasswd
utility is not installed on the server, so you have to copy it to another Linux machine.
Procedure
- Copy the file to a local machine.
scp {username}@login51.lamp.le.ac.uk:/local/trac-deploy/apache-conf/lcbru-trac.htpasswd .
- Run the command:
htpasswd ./lcbru-trac.htpasswd {firstname.lastname}
- You will then be prompted for a password.
- Copy the file back to the server:
scp ./lcbru-trac.htpasswd {username}@login51.lamp.le.ac.uk:~/lcbru-trac.htpasswd
- Log onto the server.
- Make a safe copy of the file:
cp /local/trac-deploy/apache-conf/lcbru-trac.htpasswd ~/lcbru-trac.htpasswd.safe
- Replace the fold file with the new file:
cp ~/lcbru-trac.htpasswd /local/trac-deploy/apache-conf/lcbru-trac.htpasswd
- Restart Apache:
sudo /etc/init.d/uol.apache2 restart
Note:
See TracWiki
for help on using the wiki.