Operating System - HP-UX
1834881 Members
2325 Online
110071 Solutions
New Discussion

Setting up exclusive access to particular user to certain directories

 
Muthyala
Frequent Advisor

Setting up exclusive access to particular user to certain directories

HI

I would like to provide access to user to certain directories only.How can i do it ? .

I tried using setacl but did not work can you please help me on this.

TIA
Sri
1 REPLY 1
OldSchool
Honored Contributor

Re: Setting up exclusive access to particular user to certain directories

"I would like to provide access to user to certain directories only"

which gives at least 2 interpretations:
a) UserA can only access /dir1, /dir2 and /dir3 and no others. Other users can access them as well.
b) UserA, and only UserA can access /dir1, /dir2 and /dir3

I suspect you mean "option a".

You mentioned that setacl "didn't work"? what error, if any did it generate. If I recall correctly, acls are only available on specific types of filesystems. You might want to look at the following:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1282498
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1287684