How to restrict telnet access
Sup folks,
I have slackware 8.0 installed on my machine, I know how to setup users and give them passwords and assign them to groups, what I would like to do however, is to restrict them to their starting directory which is located in my /home/(username) folder. How do I go about this? If I chmod 111 home, they can't cd .. into it, apache can still serve pages out of it, but the user that's shelled in can still cd / and that scares me! :eek: hehe Help and insight appreciated! Alex |
well, as i would recommend ssh instead of telnet. the best way for them or to restrict them to their home directories and unable to read other directories would be to create a group that has access to those directories and not the users that are telnetting to their own directories. basically limiting them to only being able to read, write or execute to their own directories and no others.
|
After a nasty rootkit hack I concur, loose telnet in favor of sshd
|
Nod nod..
Strongly considering it then...anyone had a chance to mess with rbash as well?
|
How do I go about limiting access to a certain directory only on a user or group basis with SSH?
Thanks!! Alex |
All these guys are right use SSH instead of telnet to avoid problems in the future.
Thanks |
Quote:
|
Thanks again..
I got past all these bigger problems, if you have a chance, I posted my final ssh setup question at: http://www.linuxquestions.org/questi...threadid=15162 Check it out if you have a chance. Cheers, Alex |
All times are GMT -5. The time now is 03:27 PM. |