Version 4 (modified by 9 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}@{server-name}:/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}@{server-name}:~/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.