Operating System - HP-UX
1833365 Members
3393 Online
110052 Solutions
New Discussion

Anonymous FTP ja user command

 
Pertti Laakkonen
New Member

Anonymous FTP ja user command

Hi,

I am using os 11.0 ja I am using anonymous FTP.
When i logged in from the other HP, it happened following

# ftp haux01
Connected to haux01.
220 haux01 FTP server (Version 1.1.214.4 Mon Feb 15 08:48:46 GMT 1999) ready
Name (haux01:tsroot): ftp
331 Guest login ok, send your complete e-mail address as password.
Password:
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> user vippsii
530 Already logged in.
Login failed.

I suppose that all configurations are ok because I have also os 10.20 HP machines in same layout. Why it doesn't work? Shall I need some patch maybe?
5 REPLIES 5
Bill McNAMARA_1
Honored Contributor

Re: Anonymous FTP ja user command

make sure to close your sessions properly.

ps -ef | grep ftp
and kill any zombies..
Restart the ftp service!
from /etc/rc.config.d/
It works for me (tm)
Marcel Boon
Trusted Contributor

Re: Anonymous FTP ja user command

Hi Pertti,

When I tried to help you, i've got the same problem as you. I think it is a bug, but maybe I got find somthing.

Bill,

That is not the answer on the question,
When you already logged in with ftp you
can use the option "user" this option seems not
to work.

Marcel
See the man pages
Shannon Petry
Honored Contributor

Re: Anonymous FTP ja user command

More than likely, you somewhere have an overlapping UID between ftp and vippsii

Check /etc/passwd and look for both entries. If you have
ftp:*:199:199:...........
vippsii::199:20:.......
then this is the problem. Make sure that if your using NIS, the overlap is not their.

Regards,
Shannon
Microsoft. When do you want a virus today?
Marcel Boon
Trusted Contributor

Re: Anonymous FTP ja user command

Shannon,

Pertti is not responding but I have the same problem, UID are not the same, if it was
then I have a very unsecured system !

So, other solutions ??

MB
See the man pages
Bart Paulusse
Respected Contributor

Re: Anonymous FTP ja user command

The problem is that you first login as user ftp and then you want to re-login as user vippsii.
If you login as user vippsii right away, your problem should be solved.

Regards,
Bart