Sun Java System Instant Messaging 7.2 Administration Guide

Creating a UNIX System User and Group

System users run specific server processes. Certain privileges need to be designated for these users to ensure they have appropriate permissions for the processes they run. Normally, the configure utility creates the following users and groups:

If the configure utility does not create a UNIX user and group for Instant Messaging, you need to create them manually as described in this section. After you create the user and group for Instant Messaging, you should then set permissions appropriately for the directories and files owned by that user.

Do not choose root as a server user ID unless you are deploying Instant Messaging with Access Manager. In this case, you need to use root in order to allow access to the Access Manager configuration.

ProcedureTo Create the Appropriate UNIX User and Group

  1. Log in as superuser.

  2. Create a group to which your system user will belong.

    For example, to create a group named imgroup on Solaris, type the following:


    # groupadd imgroup
    
  3. Create the system user and associate it with the group you just created and associate it with the group you just created. In addition, set the password for that user.

    For example, to create a user named imuser and associate it with the group imgroup on Solaris, type the following:


    # useradd -g imgroup imuser
    

    For more information on adding users and groups, refer to your operating system documentation.

  4. Ensure that the user and group have been added to the /etc/groups file.