Commit 72f97005 authored by Kristin Wright's avatar Kristin Wright

Checked off finished stuff

parent b87ed3e4
$ID$ $Id: MKACCT-TODO,v 1.2 2000-12-04 19:59:09 kwright Exp $
(We can move this to attic when all the account/user setup stuff is (We can move this to attic when all the account/user setup stuff is
finished.) finished.)
...@@ -7,22 +7,35 @@ finished.) ...@@ -7,22 +7,35 @@ finished.)
STUFF TO SET UP USER ACCOUNTS, DIRECTORIES ON CONTROL AND TESTBED NODES STUFF TO SET UP USER ACCOUNTS, DIRECTORIES ON CONTROL AND TESTBED NODES
----------------------------------------------------------------------- -----------------------------------------------------------------------
- to finish mkacct-ctrl, version 1: x add installation stuff to makefiles (similar to mkprojdir)
- finish pw call in mkacct-ctrl
- move user dir creation from mkacct to mkacct-ctrl
- add installation stuff to makefiles (similar to mkprojdir)
for mkacct stuff. all must be setuid root. for mkacct stuff. all must be setuid root.
- remove user dir tar & removal from rmacct to rmacct-ctrl (see - fix UID EUID problem in mkacct
note about rmacct-ctrl below)
- add hooks for mkacct/rmacct into tbrun/end
x rewrite mkacct because it sucks. it uses chpass and a gazillion
piped shell commands, some of which can be eliminated by using pw
or built-in shell functions (like chmod(), for example)
x to finish mkacct-ctrl, version 1:
x finish pw call in mkacct-ctrl
x move user dir creation from mkacct to mkacct-ctrl
x take out su1 calls; its setuid now (tried this but commands
executed not as root but as real uid
- fix privs in mkacct and rmacct to check that: x remove user dir tar & removal from rmacct to rmacct-ctrl (see
note about rmacct-ctrl below); this entails changing call from
rmuser to pw userdel.
x fix privs in mkacct and rmacct to check that:
- the $UID (real user ID) has group_root in the project OR - the $UID (real user ID) has group_root in the project OR
- $UID = 0 - $UID = 0
- the $UID has admin privs - the $UID has admin privs
(currently, only check is that user is root (tbroot works)) (currently, only check is that user is root (tbroot works))
- bootstrap current users on plastic so they have accounts.
- add quota call (2-5MB) to /users in mkacct-ctrl - add quota call (2-5MB) to /users in mkacct-ctrl
- create a script to modify plastic's exports file on each expt - create a script to modify plastic's exports file on each expt
...@@ -35,12 +48,6 @@ STUFF TO SET UP USER ACCOUNTS, DIRECTORIES ON CONTROL AND TESTBED NODES ...@@ -35,12 +48,6 @@ STUFF TO SET UP USER ACCOUNTS, DIRECTORIES ON CONTROL AND TESTBED NODES
user is added. build from scratch using database fields user is added. build from scratch using database fields
(general principle for db). (general principle for db).
- rewrite mkacct because it sucks. it uses chpass and a gazillion
piped shell commands, some of which can be eliminated by using pw
or built-in shell functions (like chmod(), for example)
- add hooks for mkacct/rmacct into tbrun/end
- do rmacct-ctrl: remove accounts from control node; called when - do rmacct-ctrl: remove accounts from control node; called when
user removed from database. because there is no user removed from database. because there is no
form to kill a project now, this can probably wait. form to kill a project now, this can probably wait.
...@@ -66,4 +73,6 @@ STUFF TO SET UP USER ACCOUNTS, DIRECTORIES ON CONTROL AND TESTBED NODES ...@@ -66,4 +73,6 @@ STUFF TO SET UP USER ACCOUNTS, DIRECTORIES ON CONTROL AND TESTBED NODES
Lbs Lbs
- make regexps in mkacct-ctrl use //i convention and allow dashes
for projects and experiments.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment