tiwari
asked on
restricting permissions to the user's
i have several users to my server, i want that the users should be only and only be confined to there home's i.e $USER/HOME" any command for out of their home should result in an access denied message. i hade done it but how i have forgotten.
i do not want to explicitly give permissions to other directories in my "/". but to chage the user's access for all users at a time.
i do not want to explicitly give permissions to other directories in my "/". but to chage the user's access for all users at a time.
ASKER
Sorry! it can't be accepted due to following reasons.
1.I don't want something like "rbash"
2) the "cd" is a tcl builtin command that cannot be disabled without recomliing so it is out of the question
thanks any way but could use some more ideas
1.I don't want something like "rbash"
2) the "cd" is a tcl builtin command that cannot be disabled without recomliing so it is out of the question
thanks any way but could use some more ideas
Why don't use some kind of "special shell" you made, where you change the root (chroot)...
the new root could be in each users directory...
and to avoid multiplicity, the bin, lib, etc... could be slinks.
By this way, they just have access to their home... and the linked subdirs... nothing else...
the new root could be in each users directory...
and to avoid multiplicity, the bin, lib, etc... could be slinks.
By this way, they just have access to their home... and the linked subdirs... nothing else...
ASKER
Can I get any kind of help in Writting My own Small shell!!?????
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What the hell kind of answer is that? If he wanted to buy a book on it he would have. If you know the answer why don't you explain how to do it?
2.do not give execute permission to cd command