Operating System - HP-UX
1833599 Members
3696 Online
110061 Solutions
New Discussion

control the user directory

 
SOLVED
Go to solution
hangyu
Regular Advisor

control the user directory

I want to control a user can only access a specific directory eg. /tmp and /home , and can't access the other directory even the general directory eg. /usr , /var , what can I do ? thx
3 REPLIES 3
Peter Godron
Honored Contributor

Re: control the user directory

hangyu
Regular Advisor

Re: control the user directory

thx reply,

I have updated chroot.conf , add the userid and directory but still not work , can advise except update this file , what I need to do ? thx.
spex
Honored Contributor
Solution

Re: control the user directory

Hi,

See "HP-UX Secure Shell and chroot-ed environments":
http://docs.hp.com/en/T1471-90011/ch01s12.html

PCS