LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-10-2006, 05:10 AM   #1
rajnair0278
Member
 
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, 07:24 AM   #2
jtshaw
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:56 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration