Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

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


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
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"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.

Steve Stites


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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:53 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