wiki:LcbruTrac HowTo Manage Users

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

  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
Last modified 8 years ago Last modified on 07/11/16 14:39:42
Note: See TracWiki for help on using the wiki.