1833858 Members
3031 Online
110063 Solutions
New Discussion

ftp not possible

 
SOLVED
Go to solution
Frank Sauerbier
Frequent Advisor

ftp not possible

Hi all,
when I try to do a ftp session to my UX 11.00 machine then the following is logged in syslog.log.
I am not asked for a password.
Shell does not seem to be an issue because some have /bin/sh others bash and there is no difference.

Any idea?

Thanks
Frank



Feb 3 12:17:54 kain inetd[1238]: ftp/tcp: Connection from c200 (192.168.0.3) at Mon Feb 3 12:17:54 2003
Feb 3 12:17:58 kain ftpd[1238]: ACCESS DENIED (not in any class) TO c200 [192.168.0.3]
Feb 3 12:17:18 kain inetd[916]: protocol = udp
Feb 3 12:17:58 kain above message repeats 7 times
Feb 3 12:17:58 kain ftpd[1238]: FTP LOGIN REFUSED (access denied) FROM c200 [192.168.0.3], sauer
Feb 3 12:17:18 kain inetd[916]: protocol = tcp
Feb 3 12:17:58 kain above message repeats 18 times
6 REPLIES 6
eran maor
Honored Contributor

Re: ftp not possible

Hi

try to add this file :
create a file call /etc/shells
and add in the file
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/csh

or the shell that you are working also and try again
love computers
Ian Dennison_1
Honored Contributor
Solution

Re: ftp not possible

Check out the following files,...

/etc/inetd.conf - is 'ftpd' using the '-a' option?

If it is configured with -a, check out /etc/ftpd/ftpaccess, to see if any 'deny' values are present.

Check to see if the User has rights to their home directory, or if there is a '/./' in their Home Directory in /etc/passwd.

Share and Enjoy! Ian
Building a dumber user
Frank Sauerbier
Frequent Advisor

Re: ftp not possible

Hi,

my /etc/shells looks like it should be, /etc/ftpd/ftpaccess exists and is empty.
But I tried now to start ftpd without the -a option and it works....

But I do not know why.

Thanks
Frank

Ian Dennison_1
Honored Contributor

Re: ftp not possible

if you wish to recreate /etc/ftp/ftpaccess, copy it from /usr/newconfig/etc/ftpd/examples/ftpaccess.

The man page for 'ftpaccess' provides good info for configuring this, but you may still need some testing in a trash-and-burn environment to get it working.

Share and Enjoy! Ian
Building a dumber user
Jose Mosquera
Honored Contributor

Re: ftp not possible

Hi,

Pls check your "allow|deny" sets in the /var/adm/inetd.sec file.

For detailed info "man inetd.sec"

Rgds.
Frank Sauerbier
Frequent Advisor

Re: ftp not possible

Hi,
thats quiet interesting.
The /usr/newconfig/etc/ftpd/ftpaccess is filled with many lines ...My actual ftpacces is empty.
In inetd.sec are three lines all with allow.

Thanks again.
Frank