I guess I have your answer.
Check /etc/ftpusers
remove root from the list as your user admin has root priv. with uid/gid
as 0/0
Any user in this list will be denied ftp access.

Regards,
Uk

Leonard den Ottolander wrote:
> 
>                 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



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

Reply via email to