LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Shell Restrictions (https://www.linuxquestions.org/questions/linux-security-4/shell-restrictions-245331/)

Equin 10-20-2004 09:33 PM

Shell Restrictions
 
I'm trying to provide people with shell access via SSH to my Fedora Core 2 server.

What I'm trying to do is restrict people from leaving their home directories while in the shell. Because these people also have web hosting, I've had to put their folders in the /var/www/html directory. I can set the permissions of the "html" directory so they cannot use the "list" command, but I cannot make it so they are unable to execute it because then the html files or other sub directories won't work.

I'm hoping somebody can help me with the answer

Thanks much,
-Equin

anacOndazz 10-21-2004 11:46 AM

ssh
 
hi dude,

I sugest you do some reading about file permissions. It's just a matter of setting the right permissions. 2 give you a hint., when u remove a x ( execute ) permission of a directory , you make that directory innacessible 2 other users...but if i were you i would have a serious reading , giving the fact that "FILE PERMISSIONS " is the backbone of linux security. A simple mistake can mean a big breach in Ur system > ...so get on red hat's docs > file permissions ( user + group ) and have a go .


All times are GMT -5. The time now is 08:21 AM.