Two machines running 6.2 here with wu-ftpd-2.6.0-14.6x are using
the distributed /etc/ftpaccess and /etc/pam.d/ftp files (same as
yours except for the obvious "upload" line and the stuff following
the commented out passwd-check line.

I have no problem making read/write FTP connections to those machine logging
into one of the accounts in that machine's passwd file (they're not running
NIS).

You didn't mention error messages on your screen or indications in
/var/log/{secure,messages,xferlog} messages.

Are the users' shells listed in /etc/shells?

Can you ftp from the machine to itself?


        pete peterson
        GenRad, Inc.
        7 Technology Park Drive
        Westford, MA 01886-0033

        [EMAIL PROTECTED] or [EMAIL PROTECTED]
        +1-978-589-7478 (GenRad);  +1-978-256-5829 (Home: Chelmsford, MA)
        +1-978-589-2088 (Closest FAX); +1-978-589-7007 (Main GenRad FAX)
 

> From: "Leonard den Ottolander" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Thu, 25 Jan 2001 19:07:17 +0100
> Subject: FTP access; urgent
> Cc: [EMAIL PROTECTED]
> 
>               Hi all!
> 
>  Excuse me for the "urgent" in the header, but...
>  I did an upgrade of wu-ftpd on a RH 6.2 server this afternoon, but after the 
> upgrade users were unable to login to the ftp server with their usernames. 
> Anonymous ftp using the ftp user still works, but people need to log in with 
> their user names to be able to upload files to this server.
>  I think somehow /etc/pam.d/ftp got replaced with a clean copy, although there 
> are no rpmsaves in /etc whatsoever. There are no backups of /etc/pam.d/ftp 
> lying around (I never touched this machine before, so at least for this I am 
> not to blame), so I was wondering if someone could tell me how to setup ftp 
> quickly to allow certain users r/w access. Following are the current 
> /etc/ftpaccess and /etc/pam.d/ftp. The users that want access are *not* 
> mentioned in /etc/ftpaccess.
> 
> #/etc/ftpaccess
> 
> class   all   real,guest,anonymous  *
> 
> email [EMAIL PROTECTED]
> 
> loginfails 5
> 
> readme  README*    login
> readme  README*    cwd=*
> 
> message /welcome.msg            login
> message .message                cwd=*
> 
> compress        yes             all
> tar             yes             all
> chmod         no              guest,anonymous
> delete                no              guest,anonymous
> overwrite     yes             guest,anonymous
> rename                no              guest,anonymous
> 
> upload        absolute /opt/guide/www.rockingstone.nl/ftp /pub/* yes rstone user 0666
> nodirs
> 
> log transfers anonymous,real inbound,outbound
> 
> shutdown /etc/shutmsg
> 
> #passwd-check rfc822 warn
> passwd-check none
> virtual 212.204.221.111 root /opt/guide/www.rockingstone.nl/ftp
> virtual 212.204.221.111 anonymous /opt/guide/www.rockingstone.nl/ftp
> virtual 212.204.221.111 banner /opt/guide/www.rockingstone.nl/ftp/welcome.msg
> #virtual 212.204.221.111 logfile /opt/guide/www.rockingstone.nl/xfer.log
> 
> 
> #/etc/pam.d/ftp
> 
> #%PAM-1.0
> auth       required   /lib/security/pam_listfile.so item=user sense=deny
> file=/etc/ftpusers onerr=succeed
> auth       required   /lib/security/pam_pwdb.so shadow nullok
> auth       required   /lib/security/pam_shells.so
> account    required   /lib/security/pam_pwdb.so
> session    required   /lib/security/pam_pwdb.so
> 
>  Thank you very much in advance for helping me out!
> 
>                                       Bye,
> 
>                                       Leonard.




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to