From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yves GREMEAU" Subject: RE: FTP server access question Date: Tue, 03 Dec 2002 10:42:17 +0100 Sender: linux-admin-owner@vger.kernel.org Message-ID: Mime-Version: 1.0 Return-path: List-Id: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" Content-Transfer-Encoding: quoted-printable To: linuxask@hotmail.com, Marco.Shaw@aliant.ca Cc: linux-admin@vger.kernel.org Hi, You should do a 'cat /etc/redhat-release' to know which redhat you have. For example you should see: "[xxxxxxx:ROOT]/root # cat /etc/redhat-release Red Hat Linux release 7.2 (Enigma)" To allow or disallow root to make ftp you should remove or add it to the file '/etc/ftpusers'. id. for anonymous login with the 'ftp' user. All the WU-ftpd stuff is configured with the /etc/ftpaccess file (man=20 ftpaccess), there are also deny-gid, deny-uid, allow-uid and allow-gid commands. For denying upload you should check for access rights (chmod) in the ftp=20 home directory. But you should check if anonymous is properly configured an= d=20 that they can't do a 'cd /tmp' for example. Hope it help, Sincerelly, Yves GREMEAU, Ing=E9nieur Syst=E8me et S=E9curit=E9 mailto:ygremeau@hotmail.com Death is life's way of telling you you've been fired. -- R. Geis >From: "simon Shaw" >To: Marco.Shaw@aliant.ca >CC: linux-admin@vger.kernel.org >Subject: RE: FTP server access question >Date: Tue, 03 Dec 2002 10:25:30 +0800 > >Hi.. Dear Friends and Marco, > >I think I am using RedHat 7.2. Below is the info > >[root@papa /root]# uname -a >Linux papa 2.4.2-2smp #1 SMP Sun Apr 8 20:21:34 EDT 2001 i686 unknown > >[root@papa /root]# rpm -qa | grep ftp >ncftp-3.0.2-1 >ftp-0.17-7 >wu-ftpd-2.6.1-16 >gftp-2.0.7b-3 >anonftp-4.0-4 > >>From: "Shaw, Marco" >>To: 'simon Shaw' >>Subject: RE: FTP server access question >>Date: Mon, 2 Dec 2002 10:03:00 -0400 >> >>First, what Linux flavor/distribution are you using, if you're not sure=20 >>what FTP daemon you have? >> >>RedHat 7.2, for example? >> >>Marco >> >>-----Original Message----- >>From: simon Shaw [mailto:linuxask@hotmail.com] >>Sent: Monday, December 02, 2002 10:01 AM >>To: andrew.cramer@cramer-ts.com >>Cc: linux-admin@vger.kernel.org >>Subject: Re: FTP server access question >> >> >>Hi.. andrew and dear all, thanks for your advice. But I want to know >>where to configure not to allow root log in and anonymous upload or=20 >>disallow >>anonymous log in >> >> >> >> >From: "Andrew B. Cramer" >> >Reply-To: andrew.cramer@cramer-ts.com >> >To: "simon Shaw" >> >Subject: Re: FTP server access question >> >Date: Mon, 02 Dec 2002 06:45:21 -0600 >> > >> > >> >Hi Simon, >> > Logging in as root is a no-no. It opens too many security issues. >> >Anonymous is ok, but be careful if you allow them to upload programs. >> > >> >(.02) - Andrew >> > >> >On 2 Dec 2002 at 15:59, simon Shaw wrote: >> > >> > > Hi? Dear Senior, >> > > >> > > May I know how do I configure my FTP server that whether to allow >> > > FTP >> >user >> > > to log in as root, and anonymous? Where do I configured that in the >> > > FTP server? >> > > >> > > Thanks >> > > >> > > >> > > >> > > >> > > >> > > _________________________________________________________________ >> > > Tired of spam? Get advanced junk mail protection with MSN 8. >> > > http://join.msn.com/?page=3Dfeatures/junkmail >> > > >> > > - >> > > To unsubscribe from this list: send the line "unsubscribe >> > > linux-admin" >> >in >> > > the body of a message to majordomo@vger.kernel.org >> > > More majordomo info at http://vger.kernel.org/majordomo-info.html >> > > >> >> >>_________________________________________________________________ >>Add photos to your messages with MSN 8. Get 2 months FREE*. >>http://join.msn.com/?page=3Dfeatures/featuredemail >> >>- >>To unsubscribe from this list: send the line "unsubscribe linux-admin" in= =20 >>the body of a message to majordomo@vger.kernel.org More majordomo info at= =20 >>http://vger.kernel.org/majordomo-info.html > > >_________________________________________________________________ >The new MSN 8: smart spam protection and 2 months FREE* =20 >http://join.msn.com/?page=3Dfeatures/junkmail > >- >To unsubscribe from this list: send the line "unsubscribe linux-admin" in >the body of a message to majordomo@vger.kernel.org >More majordomo info at http://vger.kernel.org/majordomo-info.html _________________________________________________________________ MSN Messenger : discutez en direct avec vos amis !=20 http://www.msn.fr/msger/default.asp