Home Operating Systems: AIX, HP-UX, Linux, Solaris
Setting permissions manually for the administration server
For IBM HTTP Server administration server, the setupadm script creates users and groups and sets file permissions for them. This topic describes how to do this manually.
Perform the following steps to create users and groups and set file permissions.
- Create a new user and unique group for the IHS administration server.
- AIX:
- Launch SMIT.
- Click Security and Users.
- Click Groups > Add a Group.
- Enter the group name, for example, admingrp.
- Click OK. Go back to Security and Users.
- Click Users > Add a User.
- Enter the user name, for example, adminuser.
- Enter the primary group you just created.
- Click OK.
- HP-UX: Linux:
- Run the following command from a command line:
groupadd <group_name> useradd -g <group_name> <user_ID>- Solaris:
- Launch the administration tool.
- Click Browse > Groups.
- Click Edit > Add.
- Enter the group name, for example, admingrp.
- Click OK.
- Click Browse > Users.
- Click Edit > Add.
- Enter the user name, for example, adminuser and the primary group name, for example, admingrp.
- Click OK.
- AIX: HP-UX: Linux: Solaris: Updating file permissions.
Once you have created a user and group, set up file permissions as follows:
- Update the permissions for the targeted IHS conf
- At a command prompt, change to the where you installed IHS.
- Type the following commands:
chgrp <group_name> <directory_name> chmod g+rw <directory_name>- Update the file permission for the targeted IHS configuration files.
- At a command prompt, change to the that contains the configuration files.
- Type the following commands:
chgrp <group_name> <file_name> chmod g+rw <file_name>- Update the admin.conf configuration file for the IHS administration server.
- Change to the IHS administration server admin.conf
- Search for the following lines in the admin.conf file:
User nobody Group nobody- Change those lines to reflect the user ID and unique group name you created. For example:
User userID Group group_name- Update the file permission for the targeted plug-in configuration files.
- At a command prompt, change to the that contains the plug-in configuration files.
- Type the following commands:
chgrp <group_name> <file_name> chmod g+rw <file_name>You have set up read and write access for the configuration and authentication files. Now you can perform Web server configuration data administration.