Operating System - HP-UX
1834457 Members
2596 Online
110067 Solutions
New Discussion

Re: Access restriction to specific user

 
SOLVED
Go to solution
Cat_4
Advisor

Access restriction to specific user

Dear all,

Due to the security concern, I need to create an account which have

- only work on his own directories
- not able to access other file systems

any suggestion ?

thanks in advance !!

regards,
Cat



4 REPLIES 4
Ollie R
Respected Contributor

Re: Access restriction to specific user

Hi,

You could give the user a restricted shell:
/bin/rsh

Ollie.
To err is human but to not award points is unforgivable
Michael Tully
Honored Contributor
Solution

Re: Access restriction to specific user

You need to set up a user with restricted shell access. Once done they can only access their home directory. See below example.

# useradd -u -g -d /home/username -c "My Name" -s /usr/bin/rsh -m username
Anyone for a Mutiny ?
blal
Frequent Advisor

Re: Access restriction to specific user

Hi

In addition you can see setting up access lists for additional file security.Applicable only in jfs.

see man setacl .

regards,
baiju.
Live and let live.
Massimo_20
Frequent Advisor

Re: Access restriction to specific user

Hi Cat,
i have your same questions, but i want that the user can not read file without his home directory???
Have you information about???
If you use the /usr/bin/rsh shell, the user is able to access other file systems.

Thanks in advance.