Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: User Executing my CGI Script

by quester (Vicar)
on Jul 01, 2009 at 00:17 UTC ( [id://776215]=note: print w/replies, xml ) Need Help??


in reply to Re^2: User Executing my CGI Script
in thread User Executing my CGI Script

You most likely want to use
su - su - nobody
and then run ssh-keygen as nobody. (The initial "su -" is only needed to allow you to "su - nobody" even if the nobody userid doesn't have a password, which is almost always the case. If you aren't the sysadmin, you will need his help for this, of course.)
 
This is probably much safer in the long run than trying to change the userid that Apache uses; there are a lot of security considerations to setting up an Apache userid without adding security holes to your system. In particular, if you have SELinux installed (typically Red Hat and Fedora will have it by default) there are a lot of rules that are specific to the nobody account. All other things being equal, you probably don't want to expend the effort to have to copy all those rules and then keep them maintained.

Replies are listed 'Best First'.
Re^4: User Executing my CGI Script
by kulls (Hermit) on Jul 01, 2009 at 07:34 UTC
    Hi,
    you need to change the username from 'nobody' to some previllaged user in the httpd.conf settings.
    Thanks,
    - Raja

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://776215]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-19 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found