wiki:LcbruTrac HowTo Manage Users

Version 4 (modified by richard.admin, 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

  1. Copy the file to a local machine. scp {username}@{server-name}:/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}@{server-name}:~/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
Note: See TracWiki for help on using the wiki.