On Wed, 20 Oct 1999, Security Webmaster OKDesign oHG wrote:
Does anyone know how to do a chroot for users logging in via SSH ? You know, like the chroot that can automatically be done when ftp'ing onto the server. I don't want the users to be able to escape from their homedirs to higher levels in the directory-tree. I know that this can be done somehow, but couldn't find any hint on the net nor in any howto. Thanks in advance.
Stephan
Doing chroot to ssh session would leave the session virtually useless, as the users then obviously would not have access to any system commands (as most of them are not in their homedirectories). I would rather protect the directories & files with normal file access rights. Read man chmod first. -Pete
--- Stephan M. Ott // OKDesign oHG Internet-Providing / Netzwerkmanagement smo@okdesign.de ..... http://www.okdesign.de tel. 09565-61397 ..... fax. 09565-61399 handy. 0171-8351130 oder 0171-7858064
-- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com