Operating System - HP-UX
1835871 Members
3503 Online
110085 Solutions
New Discussion

user see only one directory

 
massimiliano_6
Occasional Contributor

user see only one directory

how to create a user that see only some directories?
2 REPLIES 2
G. Vrijhoeven
Honored Contributor

Re: user see only one directory

Hi,

change user and group permissions with chmod ( man chmod) so this user is not allowed to ll ( execute bit ) the directories it is not allowed to see.

Gideon
Leif Halvarsson_2
Honored Contributor

Re: user see only one directory

Hi
One method could be to set up rsh (restricted shell) as shell for this user. Se man pages for sh-posix for limitations with rsh.