Re: ssh chrooted enviroment WITHOUT /bin /etc /lib - etc etc in the users dir ?
From: teddy (mouschi@cheese-head-state.rr.com)
Date: 01/24/03
- Next message: ge0rge: "Re: ldap uses?"
- Previous message: ge0rge: "Re: ldap uses?"
- In reply to: Neil: "ssh chrooted enviroment WITHOUT /bin /etc /lib - etc etc in the users dir ?"
- Next in thread: Jorey Bump: "Re: ssh chrooted enviroment WITHOUT /bin /etc /lib - etc etc in the users dir ?"
- Reply: Jorey Bump: "Re: ssh chrooted enviroment WITHOUT /bin /etc /lib - etc etc in the users dir ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "teddy" <mouschi@cheese-head-state.rr.com> Date: Fri, 24 Jan 2003 17:34:31 GMT
"Neil" <neil.mooney@cern.ch> wrote :
> Hi All
Hello
> I have been looking for a chroot patch to ssh for a while.
> I have seen and tried most of them , but they all seem to require that
> the user has a chroot enviroment in the home dir,
[snip the rest]
If you don't care that they can see each other's home directories, then you
can create a single chroot for them all with their actual homedirs within
it.
Chroot is /usr/chroot/
User's _Actual_ homedir would be /usr/chroot/home/teddy
When a user ftp://teddy@asdf/ they're put in /usr/chroot/home/teddy - no bin
dirs visible unless they 'cd ..'
When a user ssh teddy@asdf they're put in /usr/chroot/home/teddy - and can
use /usr/chroot/bin/bash
I don't know what you mean by bin/lib dirs confusing a user. If they're
gonna be ssh'ing in they know what it is.
-teddy
- Next message: ge0rge: "Re: ldap uses?"
- Previous message: ge0rge: "Re: ldap uses?"
- In reply to: Neil: "ssh chrooted enviroment WITHOUT /bin /etc /lib - etc etc in the users dir ?"
- Next in thread: Jorey Bump: "Re: ssh chrooted enviroment WITHOUT /bin /etc /lib - etc etc in the users dir ?"
- Reply: Jorey Bump: "Re: ssh chrooted enviroment WITHOUT /bin /etc /lib - etc etc in the users dir ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|