From: "Morten Kristiansen" <mortenkb@hotmail.com>
Subject: ftp - anonymous (change-root)
Date: Thu, 22 Aug 2002 14:43:29 +0200 [thread overview]
Message-ID: <ak2m9b$sc2$1@oslo-nntp.eunet.no> (raw)
Hi,
I want to set up an ftp-account with "change-root" that is, when I run ftp
to myhost.mydomain.no I will only see the subtree catalogue structure for my
account, not the catalogues above the loginaccount.
I have made an account "myacc" containing:
drwxr-xr-x 2 root other 8192 Aug 22 10:06 bin
drwxr-xr-x 3 root other 8192 Aug 22 10:27 etc
drwxrwxrwx 2 myacc chftp 8192 Aug 22 10:29 pub
in bin I have the /sbin/ls command and in etc I have passwd, group and
sia-subtreecatalogue (from /etc). The login shell is defined in the
/etc/shell file.
This is very much the same as in solaris and linux, but in linux and
solaris, there is also a /etc/ftpaccess where you define the group that is
member of ftp guestgroup. In the manpage for ftpd it only says to create the
catalogue and files I've already done, but it dosen't work. I can
successfully ftp into the server, but I still can see the whole catalogue
structure on the server.
Is there something I have forgotten?? I'm running Digital UNIX V4.0F (Rev.
1229);
next reply other threads:[~2002-08-22 12:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-22 12:43 Morten Kristiansen [this message]
2002-08-23 5:27 ` ftp - anonymous (change-root) Nikola Milutinovic
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox