Re: chroot ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

vrijdag 16 april 2004 18:00, j.travis:
> I am very confused by this idea of a '.' as a directory name,
> especially since '.' and '..' already exists in every directory and
> also because of these errors:
>
> [root@devel2 testssh]# mkdir /home/testchroot/.
> mkdir: cannot create directory `/home/testchroot/.    ': File
> exists [root@devel2 testssh]# mkdir /home/testchroot/./userx
> [root@devel2 testssh]# cd /home/testchroot/./userx
> [root@devel2 userx]# pwd
> /home/testchroot/userx

You don't need to create the directory /what/ever/./
Instead of using the directory /what/ever/ in your config, you 
use /what/ever/./
Ssh then chroots to /what/ever/
./ is not a real directory, it's just a directive for ssh...

Rob

- -- 
PGP public key:
    http://www.OhReally.com/pubkey.asc
Key fingerprint:
    9EEB 484F 6C91 3DD2 4C8D  3F1C 1D7D 189B 4BF0 E1DC

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAgEJ6HX0Ym0vw4dwRAlQ+AKCCb8+3u6y/WUvK7/Im/PJc9XLluQCdE8Vt
ibryN+wDkjGFNdJABoT9SL0=
=0T/3
-----END PGP SIGNATURE-----


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux