cancel
Showing results for 
Search instead for 
Did you mean: 

more restricting access

 
SOLVED
Go to solution
Ulrich Deiters
Frequent Advisor

more restricting access

How can I keep a (guest) user from reading files outside his
home directory? chroot might be an answer, but how can it be invoked for a non-privileged user?

Thanks in advance!
3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: more restricting access

How about restricted shell (/usr/bin/rsh, /usr/bin/rksh)?

# man sh

for more information.
Zeev Schultz
Honored Contributor

Re: more restricting access

That may sound strange but what with regular
permissions on files not to mention ACLs?
If your user X shouldn't read files in /etc
make /etc unreadable for this user/his group.

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Dario_1
Trusted Contributor
Solution

Re: more restricting access