![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Restrict user access to their home dir | rdns | UNIX for Dummies Questions & Answers | 10 | 05-26-2008 10:28 AM |
| Restrict FTP access to a single directory for only one user. | santhoshkumar_d | UNIX for Advanced & Expert Users | 8 | 05-23-2008 08:08 AM |
| How to restrict a user group to access the kernel | harishankar | HP-UX | 0 | 08-09-2007 02:09 AM |
| restrict tcp-port access | remivisser | UNIX for Dummies Questions & Answers | 2 | 05-18-2004 04:33 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
||||
|
Hi all,
I am using RHEL 5.0 I need a user say test to have full access to two directories, say /tmp1 & /tmp2 only other than his home directory. I do not want to change his login shell which is ksh or bash by default. Moreover, he should not even have read access of other directories. Pls help!! Thanks in adv, VIKAS |
|
||||
|
For the user test to be able to run some utilities he may need read access to some files perhaps in /etc or /lib.
Your best bet is to chroot this user - put the user in chroot jail, creates links in his home directory to /tmp1 & /tmp2. This is what is often done with ftp accounts to lock them into completely known file trees |
|
||||
|
Quote:
Thanks. |
|
||||
|
Hi,
I followed this link exactly, How to Setup a Chroot Jail - Technical Article Wiki but still when i logged in through user jdoe. I could easily change directories. Thanks. |
|
||||
|
I downloaded a script from the below link
fuschlberger.net - Howto Setup a chroot-jail for ssh/scp with Linux everything went fine except this, Quote:
Quote:
Thanks. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| chroot jail, linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|