User Tools

Site Tools


miscellaneous_scripts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
miscellaneous_scripts [2006/03/27 16:07] – _sethmiscellaneous_scripts [2026/09/26 18:40] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-Things which probably need scripted up 
- 
- 
-====== Automation ====== 
- 
- 
-**Adding user webspace**\\ Should probably go onto tardis-adduser.py. Still, needs fixed. 
-Needs to do the following... 
-   
-  foo@gallifrey:~$ sudo mkdir /var/autofs/www/users/<username> 
-  foo@gallifrey:~$ sudo mkdir /var/autofs/www/users/<username>/pages 
-  foo@gallifrey:~$ sudo mkdir /var/autofs/www/users/<username>/cgi-bin 
-  foo@gallifrey:~$ sudo mkdir /var/autofs/www/users/<username>/stats 
-  foo@gallifrey:~$ sudo chown -R `getent passwd <username> | cut -d: -f 3-4` /var/autofs/www/users/<username>/cgi-bin 
-  foo@gallifrey:~$ sudo chown -R  <username>:www-data /var/autofs/www/users/<username>/pages 
-  foo@gallifrey:~$ sudo chown -R  root:root /var/autofs/www/users/<username>/stats 
-  foo@gallifrey:~$ sudo chmod 755 /var/autofs/www/users/<username>/* 
- 
- 
- 
-====== Account Stuff ====== 
- 
- 
-We have some services where it is just not a good idea to auth against LDAP, however, this means we have to add accounts manually. We need a few scripts so users can deal with their own stuff. Ideally they should check that the password they are wanting to use is //not// their LDAP password. 
- 
-**Wiki Accounts 
-**\\Script to add account or reset password. 
-**DB Accounts 
-**\\Script to add databases in the user_n style, and reset passwords, etc. 
  
miscellaneous_scripts.1143475635.txt.gz · Last modified: (external edit)