First, create a password file and grant access to users Harry and Sally:
$ ### First time: use -c to create the fileIt's important to remember that -c is only used the first time to create the file.
$ ### Use -m to use MD5 encryption of the password, which is more secure
$ htpasswd -c -m /etc/svn-auth.htpasswd harry
New password: *****
Re-type new password: *****
Adding password for user harry
$ htpasswd -m /etc/svn-auth.htpasswd sally
New password: *******
Re-type new password: *******
Adding password for user sally
$
No comments:
Post a Comment