Adding users to a database for UNIX

The first time you add users to a database, you must do so as user ccm_root. First, establish the administrative user (the user with ccm_admin role). Then, add users to the user list while logged in as yourself.

Procedure

  1. Ensure that you are working as the Rational® Synergy administrator.
  2. Set user to ccm_root.
    $ su - ccm_root
    Password: *****

    If CCM_HOME and PATH are not set up for user ccm_root during installation, set these environment variables now. See Setting up user environments for UNIX.

  3. Start a Rational Synergy session in the ccm_admin role.

    $ ccm start -nogui -r ccm_admin -d database_path

    If you are prompted to type a password, you are connecting to a client session across a firewall. You must type your password to continue.

  4. Open the users file.

    $ ccm users

  5. Add the user and the user roles.

    You can add or remove users from this file, or change a role of a user. The user roles are predefined according to the Base Model. To add a user, read through the user list. Then, give users the appropriate role or roles.

    Additionally, you can add comments and blank lines.

    If you want to use the automatic notification of task assignment feature, the user name must be the same as the email address. The list of users looks like the following example:

    user john = build_mgr developer;
    	user sue = ccm_admin developer;
    	user bob = writer developer;
    	user tom = developer;
    	
    	#testing group
    	user linda = tester; 
    	user joe = tester; 
    	user ann = tester; 
    	user jane = tester; 
    	user bill = tester; 
    
    	user user1 = developer;
    	user user2 = developer;

    In this example, john, sue, bob, and tom are the users login names. sue has the roles of ccm_admin and developer, john has build_mgr and developer roles. bob has writer and developer roles, while tom has the developer role only. Below the first group of users, a second group, including only testers, is defined.

    Note: Create only one line, with all the user roles, for each user. Also, end each line with a semicolon.

    Additionally, user names in databases on UNIX servers must not be longer than eight characters, must not contain spaces, and must start with an alphabetic character.

  6. Stop the Rational Synergy session.

    $ ccm stop

  7. Log off from user ccm_root.

Feedback