Difference between revisions of "IT/AdminPermissions"

From CA Greens wiki
Jump to: navigation, search
(Created page with ' ==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/.htpass…')
 
Line 1: Line 1:
 
 
==Changing "the site password"==
 
==Changing "the site password"==
  
Line 6: 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.
  
<code>cd /w/cal/cc/internal
+
<pre>cd /w/cal/cc/internal
 
ls -a
 
ls -a
 
cp -p  .htpasswd  htpasswd2010
 
cp -p  .htpasswd  htpasswd2010
 
htpasswd  -b -c .htpasswd gpca 18greatyears
 
htpasswd  -b -c .htpasswd gpca 18greatyears
</code>
+
</pre>

Revision as of 13:59, 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 18greatyears