Dear team,
I am having problems with the httpd daemon, because the "apache" user can not be created.
The installation script has following to check if the user apache is available and if not create it:
# add the "apache" user only if it does not yet exist
result=`/usr/sbin/lsuser apache | /usr/bin/awk '{ print $1 }' 2>/dev/null`
if [[ "${result}" != "apache" ]] ; then
/usr/bin/mkuser id=64500 pgrp='apache' gecos='Apache User' \
login='false' rlogin='false' apache 2> /dev/null || :
fi
The standard for the mkuser command is to create the users home directory in /home.
Unfortunately in our environment the /home directory is a NAS device and root user has no write access, so the user could not be created.
Maybe it would be possible to add the option "home=/opt/freeware/etc/httpd" to the mkuser command in future versions to prevent this...???
Many thanks in advance for for support.
best regards,
Joerg
------------------------------
Joerg Kauke
Unix Administrator
COOP Switzerland
------------------------------
#AIXOpenSource