Help answer threads with 0 replies.
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 07-10-2006, 06:10 AM   #1
Registered: Mar 2006
Posts: 62

Rep: Reputation: 15
Angry Creating Users in Linux with specific rights: Issue??

Hello folks, can somebody out there assist me with creating users in Linux using the command prompt and assign rights?? I am pretty new to this OS and running real short of time. I mean that user should only have installation rights and should not be able to view my document root i.e. /usr/local/apache/htdocs that has me client web pages. Is it possible?? Any help will be appreciated. Thx in advance
Old 07-10-2006, 08:24 AM   #2
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
There are a few ways to accomplish this task. The traditional unix way would be to make sure your files in /usr/local/apache/htdocs are not world readable and to make sure your user isn't in the owning group (or isn't the owner) of the files. As far as allowing installation, wherever you want this installation to occur you would have to give the user write privilages either through a group or by making the new user the owner of the area.

The only way to accomplish this is with ACL's. This is a bit more complicated and not all systems support it, but I have included a link below that goes over the basics.

Linux File Permissions.
ACL Manual.


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
How do I do a network folder share to specific linux users? Akhran Linux - Newbie 4 03-08-2006 11:19 PM
How to make a specific command(s) work for specific users or group only naren_0101bits Linux - General 3 08-28-2005 06:22 PM
changing a users rights newusermike Linux - Newbie 2 08-11-2005 09:23 PM
user rights when creating a new folder Menestrel Linux - Newbie 3 11-14-2004 06:06 AM
Expanding rights for users? Megamieuwsel Linux - General 5 09-21-2003 12:09 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:01 AM.

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