From: Paul E. <pe...@am...> - 2004-11-24 16:59:00
|
I setup apache to run as the backuppc user and the backuppc group but not change after restarting apache and refreshing the Admin page. in httpd.conf User backuppc Group backuppc [root@localhost root]# ps aux | grep backuppc backuppc 27130 0.0 0.6 29436 13188 ? S 10:16 0:00 /usr/sbin/httpd backuppc 27131 0.0 0.6 29520 13324 ? S 10:16 0:00 /usr/sbin/httpd backuppc 27132 0.0 0.6 29520 13316 ? S 10:16 0:00 /usr/sbin/httpd backuppc 27133 0.0 0.6 29520 13320 ? S 10:16 0:00 /usr/sbin/httpd backuppc 27134 0.0 0.6 29436 13184 ? S 10:16 0:00 /usr/sbin/httpd backuppc 27135 0.0 0.6 29520 13320 ? S 10:16 0:00 /usr/sbin/httpd backuppc 27136 0.0 0.6 29436 13180 ? S 10:16 0:00 /usr/sbin/httpd backuppc 27137 0.0 0.6 29520 13320 ? S 10:16 0:00 /usr/sbin/httpd backuppc 27189 0.0 0.2 10536 5700 pts/439 S 10:16 0:00 /usr/bin/perl /opt/backuppc/bin/BackupPC -d backuppc 27192 0.0 0.1 8636 3808 pts/439 S 10:16 0:00 /usr/bin/perl /opt/backuppc/bin/BackupPC_trashClean root 27205 0.0 0.0 5076 520 pts/439 S 10:17 0:00 grep backuppc Thank you for your help. Paul On Wed, 2004-11-24 at 09:34, Les Mikesell wrote: > On Wed, 2004-11-24 at 09:46, Paul Eden wrote: > > rpm shows that it is installed. > > > > [root@localhost root]# rpm -q perl-suidperl > > perl-suidperl-5.8.3-18.1 > > > > Do I need to set it up in any way? Is there anything else I can check? > > Be sure you are executing as a normal CGI instead of using > mod_perl. Mod_perl doesn't do suid since it really is > embedded in the httpd process. If you aren't running other > web sites on the server you can just make httpd run as > the backuppc user to take care of the permissions. Once > things are working right you probably won't use the web > interface enough to care about the speed difference of > mod_perl anyway. > > ---- > Les Mikesell > le...@fu... |