From CA Greens wiki
Revision as of 15:16, 21 March 2010 by (talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Changing "the site password"

Certain directories on are protected by the file /w/cal/internal/.htaccess. The passwords are stored, encrypted, in a file /w/cal/internal/.htpasswd which you manipulate with the htpasswd command. These root shell incantations update the password for the gpca user ID. The htpasswd command comes with the Apache web server. Obviously, the man and ls commands are optional. The cp command seems like a reasonable precaution.

cd /w/cal/cc/internal
man htpasswd
ls -a
cp -p .htpasswd htpasswd2010
htpasswd -b -c .htpasswd gpca ‘new password