Research Administration Tasks: Difference between revisions

From Research
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
** As root on hood, diradm groupadd
** As root on hood, diradm groupadd
** same syntax as groupadd(8).
** same syntax as groupadd(8).
* Adding or removing users from a group
** same syntax as gpasswd(8)
** As root on hood, diradm gpasswd (-a|-d) USERNAME GROUP
* Adding projects
* Adding projects
** As root on hood: diradm amadd -O $mapbase $key $src
** As root on hood: diradm amadd -O $mapbase $key $src

Revision as of 23:59, 31 August 2005

Since I'm leaving soon, here are some docs I need to write before I go.

  • Adding users
    • As root on yamato, run /usr/local/sbin/diradm.superadduser '$username' '$email' '$Fullname'
  • Adding groups
    • As root on hood, diradm groupadd
    • same syntax as groupadd(8).
  • Adding or removing users from a group
    • same syntax as gpasswd(8)
    • As root on hood, diradm gpasswd (-a|-d) USERNAME GROUP
  • Adding projects
    • As root on hood: diradm amadd -O $mapbase $key $src
    • EG: diradm amadd -O auto.cvs foobar 209.87.56.240:/export/cvs/foobar
    • '-O' means the default mount options for automount.
    • As root on yamato: create the $src directory now, and give it the approriate permissions. chgrp -R it, and chmod 2771 it.
  • Adding CVS repositories
    • See amadd example above, create the /export/cvs/foobar directory.
    • Run: cvs -d /export/cvs/foobar init
    • Run: chmod -R 2770 /export/cvs/foobar
    • Run: chgrp foobar /export/cvs/foobar
  • Adding SubVersion repositories
    • Pat/Mayo please fill this in.
  • General user management
    • diradm offers almost all regular POSIX commands, sometimes with a few extra frills. The only commands NOT completely implemented are gpasswd and passwd.
  • Gentoo update procedures (eg, how to update without ever messing up a machine).
    • TODO
  • Welcoming new users; email template or typical wording you've used
    • This is in the diradm.superadduser script, as it fills out the template.
To: $FULLNAME <$EMAIL>
Subject: Research account created - $NEWUSER

Hello $FULLNAME,

Your research account has been created.
Username: $NEWUSER
Password: $NEWPASS

Please visit http://research.iat.sfu.ca/network/changepassword.php to change
your password when you receive this email.

For support with the research network, please email:
help@research.iat.sfu.ca

And include a good description of the entire problem and a suitable subject
line.

Please note that this username/password pair is only valid for the SFU Surrey
Research Network, and is NOT tied into the main SFU authentication systems.
  • quotas
    • TODO