Operating System - HP-UX
1758626 Members
2473 Online
108874 Solutions
New Discussion юеВ

Restricted directory access.

 
SOLVED
Go to solution
Gulam Mohiuddin
Regular Advisor

Restricted directory access.

I have to create a new user account which should have read/write access to following two directories only on our HP-UX server.

/hrms/tmp/pdf
/psoft/hrms/pdf

This user should not be able to read or navigate anywhere else.

Thanks,

Gulam.
Everyday Learning.
3 REPLIES 3
Ivan Krastev
Honored Contributor
Solution

Re: Restricted directory access.

Use chroot functionality in ssh - http://docs.hp.com/en/T1471-90015/ch01s15.html



regards,
ivan
Jaime Bolanos Rojas.
Honored Contributor

Re: Restricted directory access.

Gulam,

Also you might want to check out those two threads, they talk about the same that you are trying to accomplish:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1029844

http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1047208

Regards,

Jaime.
Work hard when the need comes out.
Gulam Mohiuddin
Regular Advisor

Re: Restricted directory access.

Thansk for your response.

But I guess chroot restricts user acccess to only one single directory.

But in my case, I would like to restrict my user to two directories which are:

/hrms/tmp/pdf
/psoft/hrms/pdf


Thanks,

Gulam.
Everyday Learning.