1828015 Members
1857 Online
109973 Solutions
New Discussion

Cannot login via FTP

 
Kitti Thanapuasuwan
Occasional Advisor

Cannot login via FTP

Hi All,
Same User-ID cannot login to the system via FTP but can login on regular workstation. Which attribute on User control this? Please advise.

TIA
11 REPLIES 11
Ian Miller.
Honored Contributor

Re: Cannot login via FTP

any error messages. Anythink in audit or accounting for the failed login?

Could be something in users LOGIN.COM so try renaming this and then logging in via ftp.
____________________
Purely Personal Opinion
Jan van den Ende
Honored Contributor

Re: Cannot login via FTP

Maybe a stupid question, but can other user-ID's login via FTP?

Jan
Don't rust yours pelled jacker to fine doll missed aches.
Wim Van den Wyngaert
Honored Contributor

Re: Cannot login via FTP

mc authorize show userid

Primary days: Mon Tue Wed Thu Fri
Secondary days: Sat Sun
Primary 000000000011111111112222 Secondary 000000000011111111112222
Day Hours 012345678901234567890123 Day Hours 012345678901234567890123
Network: ##### Full access ###### ##### Full access ######
Batch: ##### Full access ###### ##### Full access ######
Local: ----- No access ------ ----- No access ------
Dialup: ----- No access ------ ----- No access ------
Remote: ----- No access ------ ----- No access ------

FTP requires network access. Check the field Network: to see if he has access.
Wim
Antoniov.
Honored Contributor

Re: Cannot login via FTP

Hi TIA,
may be you can't reach ftp server if you have error after open command;
may be user have not network access if you can submit user and password and recevice Login incorrect message;
may be a LOGIN.COM if you can logon and then you have logged out.

Post more details.

@Antoniov
Antonio Maria Vigliotti
Jan van den Ende
Honored Contributor

Re: Cannot login via FTP

Kitty,

on the node that you try to login to, watch what is going on.


$ SET AUDIT /ALARM/enable=logfail

and then

$ REPLY/ENABLE

You should see then login attempt come by, with details about WHY the login attempt failed.

hth,

Jan

Don't rust yours pelled jacker to fine doll missed aches.
Kitti Thanapuasuwan
Occasional Advisor

Re: Cannot login via FTP

- I set /NETWORK on this User-ID and retry, still doesn't work.
- I used other ID, it works.
- The error message "Connection closed by remote host" shown on PC after I enter password.
Antoniov.
Honored Contributor

Re: Cannot login via FTP

Hello TIA,
it seems you can logon and then you are logged out.
Check for LOGIN.COM; you could set verify in his LOGIN.COM and then view log in [TCPIP$FTP] folder.

@Antoniov

Antonio Maria Vigliotti
Jan van den Ende
Honored Contributor

Re: Cannot login via FTP

Kitty,

Does ACCOUNTING /USER=/FULL give any info, telling WHY the process terminates, or is there NO info? In the last case somehow FTPD cannot get a process for your user.

By the way, do you do the login yourself or is "a" user having trouble? In the last case,
do it YOURSELF. There's a bug in FTPD that if the password contains a " " (blank space), then you NOT get "invalid password", but you also do NOT get logged in. By doing it yourself you make SURE that you are not hit by that. To be repaired in the next patch kit.

Jan
Don't rust yours pelled jacker to fine doll missed aches.
Lokesh_2
Esteemed Contributor

Re: Cannot login via FTP

Hi,

Check whether your sys$manager:sylogin.com have world execute access. If not then give the world execute access. ( System:RWED, Owner:RWED, Group:RE, World:E )

HTH,
Best regards,
Lokesh
What would you do with your life if you knew you could not fail?
Ken Robinson
Valued Contributor

Re: Cannot login via FTP

Hi,

In the users login.com, check for a "$ set noon" at the start. This will prevent the login.com from exiting on an error. If that statement is not present and an error occurs during the processing of the login.com file, you will get the error you are seeing. Also check to see if there is a "set ter/inq" command in the file. If there is make sure it is only executed when loging in interactively.

Ken
Dale A. Marcy
Trusted Contributor

Re: Cannot login via FTP

Check the user's login.com file for anything that attempts to send output back to the terminal. FTP does not like to receive anything other than what it expects. I have added to our login procedures the following lines:

$ ! 'F$Verify(0)
$ If F$Mode() .Eqs. "OTHER" Then Exit

The first line will force verification off even though it appears to be a comment. The second line exits the procedure if coming in via FTP. The intent is to be sure there are no write sys$output or anything else that attempts to send text back to the originator.