Difference between revisions of "IT/AdminPermissions"

From CA Greens wiki
Jump to: navigation, search
(Changing "the site password")
Line 5: Line 5:
 
These root shell incantations update the password for the gpca user ID.
 
These root shell incantations update the password for the gpca user ID.
  
<pre>cd /w/cal/cc/internal
+
<code>cd /w/cal/cc/internal<br />
ls -a
+
ls -a<br />
cp -p  .htpasswd  htpasswd2010
+
cp -p  .htpasswd  htpasswd2010<br />
htpasswd  -b -c .htpasswd gpca <i>new password</i>
+
htpasswd  -b -c .htpasswd gpca '''new password'''<br />
</pre>
+
</code>

Revision as of 14:02, 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 new password