Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17842

SSH chroot jail with extra applications.

$
0
0

I'm having issues chrooting an ssh user into their home directory. I configured sshd_config to match the user with directory /var/jail/ and shell is set to /bin/bash. I copied /etc/skel and all of that.

My first issue is that when the user logs in, they're placed into their home directory, but are able to cd up into the jail's root. I'd like to keep them restricted to their home directory only.

Second: I'm attempting to set up Subversion and Bugzilla for the user to utilize. I think with Subversion, I can just copy the binaries, but how would I go about setting up Bugzilla for that user only?

submitted by Sunsparc
[link][5 comments]

Viewing all articles
Browse latest Browse all 17842

Trending Articles