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.
About this task
Perform the following steps to create users and groups and
set file permissions.
Procedure
- Create a new user and unique group for the IBM HTTP
Server administration server.
- 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.
-
- 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.
- Updating file permissions.
Once you have created a user and group, set up file permissions
as follows:
- Update the permissions for the targeted IBM HTTP
Server conf directory.
- At a command prompt, change to the directory where you installed IBM HTTP
Server.
- Type the following commands:
chgrp <group_name> <directory_name>
chmod g+rw <directory_name>
- Update the file permission for the targeted IBM HTTP
Server configuration files.
- At a command prompt, change to the directory 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 IBM HTTP Server administration server.
- Change to the IBM HTTP Server administration server admin.conf directory.
- 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 directory that contains the
plug-in configuration files.
- Type the following
commands:
chgrp <group_name> <file_name>
chmod g+rw <file_name>
Results
You have set up read and write access for the configuration
and authentication files. Now you can perform Web server configuration
data administration.