Changes between Version 2 and Version 3 of Installation/LoggingIn


Ignore:
Timestamp:
Jul 23, 2011 7:02:54 PM (13 years ago)
Author:
jhickey
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Installation/LoggingIn

    v2 v3  
    88
    99You can now fill out the form to create the first project and user.  The project will be automatically approved and created upon submission.  You may now logout and login as the user you created for the first project.
     10
     11== Managing additional users ==
     12
     13=== Giving users "Red Dot" ===
     14
     15Red Dot allows a user to enter administrative mode on the web interface. 
     16
     17{{{
     18echo 'update users set admin=1 where uid="<username>"' | mysql tbdb
     19}}}
     20
     21=== Shell on Boss ===
     22
     23Testbed users are by default not allowed to log into boss.  They have no password set and their shell is set to a dummy shell. 
     24
     25This command will grab the password hash for the user out of the database and set a real shell. 
     26
     27{{{
     28echo select usr_pswd from users where uid=\"<username>\" | mysql -N tbdb | pw user mod jhickey -h 0 -s /usr/local/bin/bash
     29}}}
     30
     31By default, users do not have /usr/testbed/sbin in their path.  Add this in depending on your shell.
     32
     33=== Working with UNIX groups (mostly for sudo) ===
     34
     35By default, sudo comes configured to allow anyone in the group '''wheel''' to sudo.
     36
     37It is important that adding users to new UNIX groups be done through the testbed software, since /etc/group is regularly overwritten when new users are added to the testbed.  So to add a user to wheel, we need to run:
     38
     39{{{
     40withadminprivs unixgroups -a <username> wheel
     41}}}
     42
     43Make sure /usr/testbed/sbin is '''in your path.'''