No shell for the user ftp, ftp cannot log-in, there should be a file called /etc/shells that is required when the shell mentioned in /etc/passwd for a user to get logged in via ftp
Ted Gervais wrote: > > Just looking this file over too, and I see under ' ftp:x:14.50:FTP > User/var/ftp: that I have all that but it ends with :/sbin/nologin > > Should that be changed? Why the 'nologin' ?? > > Seems strange.. > > > > At 06:03 PM 9/9/2002 +0100, you wrote: > >> do u have a user ftp in your /etc/passwd for anonymous ftp >> server to work ?? >> i hope u are not trying to login as root !! >> i am attaching a working ftp server conf !! even for anonymous >> ftp !!! compare and seee where u have problems!! >> >> /etc/passwd >> >> ftp:x:14:50:FTP User:/var/ftp: >> >> /etc/ftpaccess >> class all real,guest,anonymous * >> >> email root@localhost >> >> 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 no guest,anonymous >> rename no guest,anonymous >> >> log transfers anonymous,real inbound,outbound >> >> shutdown /etc/shutmsg >> passwd-check rfc822 warn >> >> /etc/ftpusers >> root >> bin >> daemon >> adm >> lp >> sync >> shutdown >> halt >> mail >> news >> uucp >> operator >> games >> nobody >> ~ >> >> >> >> >> >> >> >> >>> ----- Original Message ----- >>> *From:* Skuse, Phil <mailto:[EMAIL PROTECTED]> >>> *To:* '[EMAIL PROTECTED]' <mailto:'[EMAIL PROTECTED]'> >>> *Sent:* Monday, September 09, 2002 10:19 AM >>> *Subject:* RE: FTP server installation >>> >>> Check if there are any clues in /var/log/messages. Also check the >>> allow-uid and allow-gid settings in ftpaccess. >>> >>> -----Original Message----- >>> *From:* Mathur, Sachin (UMKC-Student) [mailto:[EMAIL PROTECTED]] >>> *Sent:* 07 September 2002 19:12 >>> *To:* [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >>> *Subject:* FTP server installation >>> >>> Hi folks, >>> >>> I have installed wu-ftpd and anonymous ftp server on >>> my redhat 7.3 system. When I try to ftp to the localhost, after >>> entering my login and password, it gives me a message " login >>> incorrect " . I am facing the same problem with anonymous ftp server. >>> I tried to toggle with ftpaccess, n ftpusers files, but it dint work. >>> >>> Thanks in advance, >>> >>> Best Regards >>> >>> Sachin. >>> >>> >>> >>> >>> >>> >> >> --- >> Ted Gervais, >> Coldbrook, Nova Scotia, Canada >> -- Aly Dharshi [EMAIL PROTECTED] System Administrator ORS Servers "A good speech is like a good dress that's short enough to be interesting and long enough to cover the subject" -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list