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
Ip settings guguli Linux 1 10-18-2008 03:32 AM
DNS settings bad-ash SUN Solaris 8 09-30-2008 07:52 AM
OpenOffice.org Basic crash course: Saving user settings iBot UNIX and Linux RSS News 0 09-16-2008 02:30 PM
HOw do i give a user cronjob edit/settings permission? debu UNIX for Advanced & Expert Users 2 01-24-2008 04:44 AM
Help with IBM 550 and HMC settings System Shock UNIX for Dummies Questions & Answers 0 06-26-2007 08:05 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-18-2008
Registered User
 

Join Date: Nov 2008
Posts: 1
user settings

Hello

I wonder... lets say I have to set up very very restricted rights to a user that only should be able to access logfile Y in catalogue X and nothing else. Current user is going to use Putty to access current unix machine.

Is it possible to set up user settings so a user is just able to access its HOME directory and being able to "tail" and/or "grep <word>" for logfile Y. The logfile Y is not in current users HOME directory and its important that current user is not able to execute other commands than thoose beeing mentioned and is not able to change catalogue. If answer is yes how do I do that.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-19-2008
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 5,214
You can chroot a user - you make his home directory root - then create the user's own custom /usr/bin directory with only the commands (plus the shell) that you want the user to have.

try reading this:
Best Practices for UNIX chroot() Operations
Reply With Quote
Google The UNIX and Linux Forums
Reply

Bookmarks

Tags
None

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:




All times are GMT -4. The time now is 09:13 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66