Gossamer Forum
Home : General : Perl Programming :

Apache and Nobody

Quote Reply
Apache and Nobody
I run LinksSQL and when I do a build from http: it creates directories etc with 'nobody' as the owner. Unfortunately, regardless of the settings in Links I cannot delete the pages or build from telnet.

I note in httpd.conf that there is a setting User and Group and they are both set as 'nobody'. Is this is what is causing the problem?

Would I be better changing this to for example: -

abcde (as my login name)
and
fghijk (as my group)

Any ideas/suggestions would be appreciated.

Regards,

Clint.

--------------------------
http://www.AffiliatesDirectory.com - Affiliate Programs Directory
Quote Reply
Re: Apache and Nobody In reply to
1) You can delete the files via FTP.
2) There is a script that will change the NOBODY user to your root account...search the forums for nobody user.
3) Yes, you can change your Apache configurations to replace NOBODY with your root account.

Regards,

Eliot Lee
Quote Reply
Re: Apache and Nobody In reply to
Hi,

You may want to consider using Apache's suEXEC, which will run cgi scripts as your own user.

If you are on a dedicated server, then you can change it to run as your userid without too much worries.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Apache and Nobody In reply to
Is that similar to cgi-wrapper Alex?

Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: Apache and Nobody In reply to
Hi,

It is a cgi-wrapper, and is similiar to cgiwrap, however I'd go with suEXEC as it's bundled with Apache and is part of Apache, where a cgiwrap is a separate script (although both are very well tested).

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Apache and Nobody In reply to
Hi,

Woops, got my wraps and wrappers mixed Smile

Sorry, I wasn't trying to move Clint away from using suEXEC, I was asking for my own research really.

Paul Wilson.
Installations:
http://www.wiredon.net/gt/