Difference between revisions of "IT/AdminPermissions"
From CA Greens wiki
(→Changing "the site password") |
|||
Line 8: | Line 8: | ||
ls -a | ls -a | ||
cp -p .htpasswd htpasswd2010 | cp -p .htpasswd htpasswd2010 | ||
− | htpasswd -b -c .htpasswd gpca | + | htpasswd -b -c .htpasswd gpca <i>new password</i> |
</pre> | </pre> |
Revision as of 14:00, 21 March 2010
Changing "the site password"
Certain directories on http://www.cagreens.org are protected by the file /w/cal/internal/.htaccess. It refers to 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.
cd /w/cal/cc/internal ls -a cp -p .htpasswd htpasswd2010 htpasswd -b -c .htpasswd gpca <i>new password</i>