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
user session restriction pchangba AIX 2 06-13-2009 01:11 AM
user session restriction pchangba1 AIX 2 12-17-2008 03:59 AM
FTP Restriction mduweik SUN Solaris 0 02-28-2006 11:38 AM
Restriction to User gelbvonn Filesystems, Disks and Memory 5 09-10-2004 04:39 PM
Restriction for more than one user kayode Shell Programming and Scripting 7 03-28-2003 11:04 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 09-09-2009
jaydeep_sadaria jaydeep_sadaria is offline
Registered User
  
 

Join Date: Nov 2007
Posts: 34
User restriction

Dear All

I had one user called msc. In that i had two folder.xxx and yyy

ex: /home/msc/xxx
ex: /home/msc/yyy

Now i want that msc user only able to access xxx folder only. No other folder should be visible to it.

Kindly let me know. How it possile??

Regards
Jaydeep
  #2 (permalink)  
Old 09-09-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,583
If he owns his home directory, you will have trouble stopping him...(if he know a little unix...)

---------- Post updated at 16:36 ---------- Previous update was at 16:31 ----------

you can always try changing ownership of yyy and choose a group in which mcs is not member then chmod 550 yyy
  #3 (permalink)  
Old 09-09-2009
thegeek thegeek is online now
Registered User
  
 

Join Date: Apr 2009
Location: /usr/bin/vim
Posts: 462
You should be a super user first, then

$ chmod 000 yyy

Other ways also possible. So let us know if this helped you in accomplishing this task..

Else explain the task clearly, to get a correct solution..
  #4 (permalink)  
Old 09-09-2009
methyl methyl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1,184

Code:
chmod 700 yyy
chown root:sys yyy

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:00 AM.


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