In May, 2014, we had to change from the
apache
uid to the webuser
uid so that the httpd
process could
access Shankar's home directory via nfs.
Note that we run as webuser
instead of
as user apache
. See
FAQ/ Web/ Creating An EECS Homepage.
In addition to editing /etc/passwd
and /etc/group
:
[root@moog cgi-bin]# egrep 'apache|webuser' /etc/passwd apacheold:x:48:48:Apache:/var/www:/bin/bash webuser:x:110:110:Apache:/var/www:/bin/bash [root@moog cgi-bin]# egrep 'apache|webuser' /etc/group oldapache:x:48:mail,mailman,webuser webuser:x:412:mail,mailman cvs:x:503:vc,cxh,eal,hudson,webuser vc:x:504:webuser guest:x:1200:webuser mailman:x:41:mail,webuser [root@moog cgi-bin]#and running
pwck
and grpck
, the following steps were necessary:
FAQs: