= LcbruTrac HowTo Manage Users Tags: [[LcbruTrac Summary]] [[HowTo]] - Uses Apache basic HTTP authentication and is managed by using the [[http://httpd.apache.org/docs/2.2/programs/htpasswd.html|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 1. Copy the file to a local machine. `scp {username}@login51.lamp.le.ac.uk:/local/trac-deploy/apache-conf/lcbru-trac.htpasswd .` 2. Run the command: {{{ htpasswd ./lcbru-trac.htpasswd {firstname.lastname} }}} 3. You will then be prompted for a password. 4. Copy the file back to the server: `scp ./lcbru-trac.htpasswd {username}@login51.lamp.le.ac.uk:~/lcbru-trac.htpasswd` 5. Log onto the server. 6. Make a safe copy of the file: `cp /local/trac-deploy/apache-conf/lcbru-trac.htpasswd ~/lcbru-trac.htpasswd.safe` 7. Replace the fold file with the new file: `cp ~/lcbru-trac.htpasswd /local/trac-deploy/apache-conf/lcbru-trac.htpasswd` 8. Restart Apache: `sudo /etc/init.d/uol.apache2 restart`