2. SSH-Server: Wie privilege separation directory umgehen

Johannes Kastl ojkastl at gmx.de
Mit Mai 23 04:38:00 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 16.05.2007 22:03 schrieb Nils Kassube:
> Johannes Kastl wrote:
>> Wie löse ich das denn? Oder ist das ein Kandidat für einen Bugreport? 
> 
> Hast du mal mit chroot probiert? Ach du brauchtest ja einen Link -- nimm 
> den:

> <http://www.gnu.org/software/coreutils/manual/html_mono/coreutils.html#chroot-invocation>

Der gibt einen 404, der hier geht:
<http://www.gnu.org/software/coreutils/manual/coreutils.html#chroot-invocation>

Und wenn ich das richtig sehe ist das das "ganz normale chroot", das
man auch auf der Kommandozeile benutzen kann.

Wie baue ich das denn in ein Skript ein? Bzw. wie baue ich das in das
sshd-Skript ein? Kennst du ne Anleitung dazu, wie man Dienste in ein
chroot verbannt?

OJ
- --
When you say "I wrote a program that crashed Windows", people just
stare at you blankly and say "Hey, I got those with the system, *for
free*".
(Linus Torvalds)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFGU7cYMAex/QZx/TMRAr+TAJ0YKpXXFsveHMG4645U44hTzSEcUACfQDaj
4JKbJ72aJa5ydxL7+9VGSNY=
=RDC9
-----END PGP SIGNATURE-----