LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-11-2004, 06:26 AM   #1
usernamed
LQ Newbie
 
Registered: Jun 2003
Location: By the sea
Distribution: LFS/BLFS
Posts: 24

Rep: Reputation: 15
getting access to /var for unprivileged user


Hi,

I'm trying to set up an unprivileged user to be the owner of apache, postgresql and php. I've compiled all three from source, but when I try to run apache I get a 'permission denied' message.

Also when I try to run GNOME I get an XKB error. Both errors relate to not being able to read or create logs in the /var directory. How do I get my specific user write access to the /var directory without opening it up to everyone? Or shouldn't my user have access to the /var directory?

I'm slightly confused by the way linux permissions work, and how to make my apache/postgresql/php installation secure.
 
Old 05-11-2004, 06:38 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,472

Rep: Reputation: 154Reputation: 154
"I'm trying to set up an unprivileged user to be the owner of apache, postgresql and php."

You might set up a special group name and have only root and the unprivileged user in the group. Then assign that group name to the apache, postgresql and php executables. You will probably also have to assign the special group name to a lot of other files as well.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


Reply


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
change to unprivileged user without sudo? german Linux - Security 2 01-28-2005 01:32 PM
VNC server as unprivileged user CartersAdvocate Slackware 1 12-18-2004 10:51 PM
Start applications automatically on an unprivileged user? DeathGoth Linux - General 3 10-27-2004 04:29 AM
uncompress and compiling problem for unprivileged user. sixth_sense Linux - Software 3 05-09-2004 01:38 PM
proftp access to /var/www/htdocs with rw datadriven Slackware 0 06-27-2003 11:11 AM


All times are GMT -5. The time now is 04:22 AM.

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