Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-20-2006, 05:38 PM   #1
LQ Newbie
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
Newbie Question

I'm a newbie to Linux so please bare with me.

I have a list of instructions, these are to get an API to work on our web server.

1. Add a new user.
2. Give the new user read and execute permissions for the /var/www/vhosts/ directory.
3. Change the system configuration so that PHP runs as this new user instead of 'nobody'.

Does this make sense? Can anyone help?
Old 07-20-2006, 05:51 PM   #2
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
Title "Newbie Question" <- read the forum rules...questions are better answered with a relavant title.

1) add a new user
google for useradd or adduser
2) Read execute permissions
google chmod
3) change sys config
google php and apache and read docs

Last edited by bosewicht; 07-20-2006 at 05:58 PM.
Old 07-20-2006, 05:52 PM   #3
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
You can easily look up this information on google. Have you tried searching before posting??

1. Add a new user.
'useradd' command is what you're looking for.
2. Give the new user read and execute permissions for the /var/www/vhosts/ directory.
'chmod' is the command you're looking for. Read the man pages if you need further help.
3. Change the system configuration so that PHP runs as this new user instead of 'nobody'.
PHP is a module in a webserver. It doesn't have its own daemon. Do you mean you want apache, or whatever web server you are using, to run as this new user instead of 'nobody'?


Last edited by twantrd; 07-20-2006 at 05:53 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache newbie question.. (very newbie question) tarballed Linux - Newbie 1 02-07-2003 08:41 PM
RE: Suse 8.0 hardware question {newbie question, pls help} Radiouk Linux - Distributions 2 06-04-2002 12:53 PM
RE: Samba question pls help {Newbie question} Radiouk Linux - Networking 4 06-03-2002 06:40 PM
Security question {newbie question} Radio Linux - Security 3 05-17-2002 06:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration