The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Restrict access to specific users. nua7 UNIX for Advanced & Expert Users 6 08-27-2008 03:17 AM
Restrict user access to their home dir rdns UNIX for Dummies Questions & Answers 10 05-26-2008 11:28 AM
restrict access of a user to two directories only vikas027 Red Hat 10 05-03-2008 11:26 AM
restrict tcp-port access remivisser UNIX for Dummies Questions & Answers 2 05-18-2004 05:33 AM
Need help to access/mount so to access folder/files on a Remote System using Linux OS S.Vishwanath UNIX for Dummies Questions & Answers 2 07-30-2001 09:17 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-09-2009
kapilk kapilk is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 7
Restrict Access to the folder

Hi

I have requirement to create 3 new users on my server but to restrict their access to a set of particular folders.

/export/home/kapil/shared,
/export/home/kapil/shared/Folder1
/export/home/kapil/shared/Folder2

These folders should be accessible to all the 3 users and to me too. I should be the owner of all the folders and also new users should be able to write the files inside these folders and should be able to rename the files created by me.

Is there is any way to achive this?
  #2 (permalink)  
Old 07-09-2009
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,311
Create a group, add yourself and the other 3 to it - fire a chown -R yourname:newgroup on the folders. chmod to your needs.
Regarding new users you might think about setting permissions for "others". If it isn't sufficient you might think about using ACLs.

Also you might want to read in this:
http://tldp.org/LDP/sag/html/index.html
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0