Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #206725
| From | Peter Wiersig <peter@friesenpeter.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: chroot jail for user with rssh |
| Date | 2019-03-28 12:20 +0100 |
| Message-ID | <xGBeF-4ZO-11@gated-at.bofh.it> (permalink) |
| References | <xGnOr-4MV-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
basti <mailinglist@unix-solution.de> writes: > > Files inside chroot: > > /home/user# find ./ > ./ > ./bin > ./bin/ls > ./bin/date > ./bin/bash > ./.ssh > ./.ssh/authorized_keys > ./lib > ./lib/x86_64-linux-gnu > ./lib/x86_64-linux-gnu/libattr.so.1 > ./lib/x86_64-linux-gnu/libncurses.so.5 > ./lib/x86_64-linux-gnu/librt.so.1 > ./lib/x86_64-linux-gnu/libbsd.so.0 > ./lib/x86_64-linux-gnu/libpthread.so.0 > ./lib/x86_64-linux-gnu/libacl.so.1 > ./lib/x86_64-linux-gnu/libdl.so.2 > ./lib/x86_64-linux-gnu/libpopt.so.0 > ./lib/x86_64-linux-gnu/libpcre.so.3 > ./lib/x86_64-linux-gnu/libselinux.so.1 > ./lib/x86_64-linux-gnu/libtinfo.so.5 > ./lib/x86_64-linux-gnu/libc.so.6 > ./etc > ./etc/group > ./etc/rssh.conf > ./etc/passwd > ./foo > ./usr > ./usr/bin > ./usr/bin/rssh > ./usr/bin/sftp > ./usr/bin/rsync > ./usr/bin/scp > ./usr/lib > ./usr/lib/x86_64-linux-gnu > ./usr/lib/x86_64-linux-gnu/libedit.so.2 > ./dev > ./dev/random > ./dev/zero > ./dev/null > ./dev/tty > ./lib64 > ./lib64/ld-linux-x86-64.so.2 Did you use Russ' supplied script /usr/share/doc/rss/examples/mkchroot.sh to create that environment? My contents after that script look quite different to your presented files. Did you act on the logging notice after using the script, so that the syslogd listens to the ./dev/log in the chroot? Peter
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
chroot jail for user with rssh basti <mailinglist@unix-solution.de> - 2019-03-27 22:00 +0100
Re: chroot jail for user with rssh Peter Wiersig <peter@friesenpeter.de> - 2019-03-28 08:50 +0100
Re: chroot jail for user with rssh basti <mailinglist@unix-solution.de> - 2019-03-28 10:20 +0100
Re: chroot jail for user with rssh Peter Wiersig <peter@friesenpeter.de> - 2019-03-28 13:50 +0100
Re: chroot jail for user with rssh basti <mailinglist@unix-solution.de> - 2019-03-28 17:10 +0100
Re: chroot jail for user with rssh Peter Wiersig <peter@friesenpeter.de> - 2019-03-28 12:20 +0100
Re: chroot jail for user with rssh basti <mailinglist@unix-solution.de> - 2019-03-28 12:50 +0100
csiph-web