User Tools

Site Tools


general_administration

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
general_administration [2007/08/09 13:20] – _bacamgeneral_administration [2026/09/27 05:42] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
- 
-====== Adding a new user account ====== 
- 
- 
-<code>foo@gallifrey:~$ sudo tardis-adduser</code> 
- 
-The tardis-adduser script lives in cvs and is installed on gallifrey at 
-<code>/usr/sbin/tardis-adduser</code>. The script prompts you to enter the 
-details straight off the application form, please note that usernames should be 
-no greater than 8 characters.  (That said, we already have some longer user names; 
-at least try to ensure that the first 8 characters are unique.)  Punctuation should 
-be avoided --- for example, the wiki has problems with underscores. 
- 
-With the account added, sysmans will be informed, and the user will be emailed 
-their username and password and a link to a webpage on how to login. 
- 
-Don't worry about [[allusers]]. 
- 
- 
-====== Removing a user ====== 
- 
-**Beware:** We have not removed many accounts before, so 
-take care and pay attention to what the script is doing.  If you are at 
-all uncertain ask someone else to do it. 
- 
-On gallifrey, use the <code>tardis-removeuser</code> script, as root. 
- 
- 
-====== Providing a user with web space ====== 
- 
- 
-This currently needs to be done manually: 
-   
-  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>/* 
- 
-Actually I've scripted this in davros:/root/make_webdir . Just make the first argument the username. 
- 
- 
-====== Changing a user password ====== 
- 
- 
-On any machine with a proper LDAP setup (currently gallifrey or mccoy) use 
-<code>passwd</code> normally. 
- 
- 
-====== Reading the support inbox ====== 
- 
-   
-     foo@mccoy:~$ sudo su - support 
-     support@mccoy:~$ mutt 
- 
- 
-You can also use <code>pine</code> instead of <code>mutt</code> if you prefer. 
- 
-Once you have dealt with a piece of support mail, please move it to a folder 
-with the user's name so that others don't repeat your efforts, but can still 
-find the messages later.  Similarly, put any mail you send in a folder with the 
-recipient's user name.  If the person you are dealing with is not a Tardis 
-user, use a folder named after their email address. 
- 
- 
-====== Mailing list adminstration ====== 
- 
-[[http://www.tardis.ed.ac.uk/admin/mail/ecartis.html|http://www.tardis.ed.ac.uk/admin/mail/ecartis.html]] 
- 
- 
-====== Adding or removing an administrator ====== 
- 
- 
-The appropriate edits need to be made to /etc/sudoers and /root/adminschange.ldif and then updated with ./root/modifyadmins.sh on mccoy. Edits may also need made to /etc/aliases and updated with newaliases, also on mccoy, to add the user to sysmans. 
- 
- 
-====== Group Accounts ====== 
- 
-See [[managing_group_accounts]]. 
- 
- 
  
general_administration.1186665609.txt.gz · Last modified: (external edit)