Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* ftp - anonymous (change-root)
@ 2002-08-22 12:43 Morten Kristiansen
  2002-08-23  5:27 ` Nikola Milutinovic
  0 siblings, 1 reply; 2+ messages in thread
From: Morten Kristiansen @ 2002-08-22 12:43 UTC (permalink / 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);




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ftp - anonymous (change-root)
  2002-08-22 12:43 ftp - anonymous (change-root) Morten Kristiansen
@ 2002-08-23  5:27 ` Nikola Milutinovic
  0 siblings, 0 replies; 2+ messages in thread
From: Nikola Milutinovic @ 2002-08-23  5:27 UTC (permalink / raw)


"Morten Kristiansen" <mortenkb@hotmail.com> wrote in message
news:ak2m9b$sc2$1@oslo-nntp.eunet.no...
> 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.

On DEC's FTP server this only works for a dedicated "ftp" user. All other
users are not CHRoot-ed. Get yourself a decent FTP server, there are a
couple of them with tons of features, WU-FTP, Pro-FTP,...

Nix.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-23  5:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-22 12:43 ftp - anonymous (change-root) Morten Kristiansen
2002-08-23  5:27 ` Nikola Milutinovic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox