LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Create special login shell Restricted access (https://www.linuxquestions.org/questions/linux-security-4/create-special-login-shell-restricted-access-509800/)

haiders 12-12-2006 02:58 PM

Create special login shell Restricted access
 
I'm trying to create a user account which will only have access to that users home directory and nothing else. Do I need a special login shell? I'm running centos-release-4-2.1.

unSpawn 12-12-2006 03:08 PM

Check the LQ FAQ: Security references for "chroot" stuff?

~=gr3p=~ 12-13-2006 06:41 AM

in addition to chroot you should also have a look at "rbash" or "Restricted Bash"

haiders 12-13-2006 08:37 AM

That is a great reference, however chroot seems kind of extensive. I don't need to create an entire "environment" for a user, just a temporary login to access a file system and run basic commmands. I think rbash may be the way to go. Any good articles for rbash that you're aware of would bel helpful. Thanks!


All times are GMT -5. The time now is 03:20 AM.