![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
Other UNIX.COM Threads 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 07:28 AM |
| Restrict FTP access to a single directory for only one user. | santhoshkumar_d | UNIX for Advanced & Expert Users | 8 | 05-23-2008 05:08 AM |
| How to restrict a user group to access the kernel | harishankar | HP-UX | 0 | 08-08-2007 11:09 PM |
| restrict tcp-port access | remivisser | UNIX for Dummies Questions & Answers | 2 | 05-18-2004 01:33 AM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | 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 |
| Forum Sponsor | ||
|
|
|
|||
|
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. |