User Tools

Site Tools


pp_howto:tmts_adduser

Adding a User to TMTS Web System

The TMTS Web systems for the NCSS use two forms of access control. The first is the login and password configured in Tomcat. This is in tomcat-users.xml in the following directories:

  • rodgers.geo.berkeley.edu (Red Hat 7): /home/tomcat/conf/
  • ucbpp.geo.berkeley.edu (Red Hat 6): /usr/local/tomcat/conf/

The tomcat-users.xml file rarely needs to be changed.

The second form of access control is the /home/ncss/run/tmts/conf/Auth.users file. This file lists specific users with a TMTS password of “none”.

To add a new user to TMTS Web system:

  • On both rodgers and ucbpp, edit /home/ncss/run/tmts/conf/Auth.users to add the new user name followed by “=none”.
  • Restart Tomcat. This requires root permission.
    • rodgers:
  systemctl restart tomcat
  • ucbpp:
  /etc/init.d/tomcat/stop
  /etc/init.d/tomcat/start
  • Consider adding the user to the credit_alias table. This maps the user's tmts name to their real name. Ask the user if this is what they want. Here's sample SQL, to be used on dcucb:
INSERT INTO credit_alias VALUES ('login', 'Full Name');
commit;
  • If you added an entry to the credit_alias table, pass this update to the other databases. On ucbpp:
cd /home/ncss/DBmaint/bin/
./Update_Group.csh credit

That's it!

pp_howto/tmts_adduser.txt · Last modified: 2018/02/16 10:26 by 127.0.0.1