Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 07: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, 07:38 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,793

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

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