Date: Wed, 5 Sep 2001 17:24:30 +0200 From: Michael Lyngbøl <none@michael--lyngbol.dk.lh.bsd-dk.dk> To: bsd-dk@bsd-dk.dk Subject: Re: ftpd
On 05.09.2001 14:12:22 +0000, Jeppe Liisberg wrote:
> > JL> Hvordan sætter jeg default root til brugere der logger på med ftpd?
> >
> > Du kan proeve at kikke paa /etc/ftpchroot ..
> >
> Den findes slet ikke på mit system... kan du give mig et eksempel, så jeg
> kan lave den?
Fra ftpd(8):
5. If the user name appears in the file /etc/ftpchroot, or the
user is a member of a group with a group entry in this file,
i.e. one prefixed with `@', the session's root will be changed
to the user's login directory by chroot(2) as for an
``anonymous'' or ``ftp'' account (see next item). This facil
ity may also be triggered by enabling the boolean "ftp-chroot"
capability in login.conf(5). However, the user must still
supply a password. This feature is intended as a compromise
between a fully anonymous account and a fully privileged ac
count. The account should also be set up as for an anonymous
account.
Du opretter blot /etc/ftpchroot
/Michael
-- Michael Lyngbøl -- michael at lyngbol dot dk TDC Tele Danmark, DataNetworks, IP section
This archive was generated by hypermail 2b30 : Wed 15 Nov 2006 - 18:24:15 CET