Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to configure ftp on an AIX 5.4 Server 1

Status
Not open for further replies.

stoh

Programmer
Dec 22, 2005
6
DE
Hi,

on our AIX Server only root can login into ftp.

What is to be done to allow other users to login?

(/dev/tty is readable and writable to all)

RGDS

STOH
 
I thought AIX 5.4 isn't released until 2007
 
Hi all,

I maybe posted the wrong Version number, but hints to this fact will not help me solving my problem.

RGDS

STOH
 
check the export value for the exported item. is it exported for all???
 
@plamb

???

sorry I'm only a stupid programmer, but I don't understand your question.

What is the exported item?
What is the export value?

RGDS

STOH
 
Hi!

In AIX 5.2 and earlier ftp server was set up and enabled by default.

If you do not want so use anonymous ftp, more or less it might be as easy as enabling ftpd in /etc/inetd.conf

It can be done using "vi" or the following command:
chsubserver -a -v ftp -p tcp

You should check /etc/ftpuser file if there are any users listed (if some user is listed here, they are disallowed to log in using ftp).

Well, this all is for version 5.2. Maybe there were heavy security restrictions applied in later AIX versions, but I do not know them.

--Trifo
 
Hi,

@sbix

Yes other users can login remotely

@trifo

ftp deamon is up and running, /etc/ftpuser is empty

@all

short description what we are doing:

We develop some app in C++. This app is delivered for some UNIX/LINUX versions.(HP-UX, SUN, AIX, Redhat, Suse)

We develop in VC++ (Win)

I wrote some automation scripts to prepare the sources under Win, transfer them to different servers and compile them.

On all servers we have the same develop user and everything works fine except the little FTP problem under AIX ?!?
 
fptd is up&running?

Well, can't it be that while ftpd is runiing in daemon mode, inetd tries to start another instance of ftpd, which prevent to bind the port?

Another thing to do is start and set up syslogd to collect messages from inetd and ftpd. This might help a lot.

--Trifo
 
Well try this: (it can help you/us isolate the problem)

on windows, open cmd window and try to go through the motions to connect and log in to FTP on AIX box.

Please copy&paste the screenful back here

c:\> ftp
ftp> open <aixhostname>
Connected to...
220 <aixhostname> FTP server (V...) ready
User (<aixhostname:mad:none)): <type the user name here>
331 Password required for <username>.
Password: <type password here>
230 User <username> logged in.
ftp>


HTH,

p5wizard
 
@all

sorry, can not work now on this problem ...

... we have problems with higher prio :-(

I will check asap on AIX and return ...
 
When you get back to it, another item to verify is whether your ftp server requires the user's shell to be listed in /etc/shells. If your shell is /usr/local/bin/bash, there is a good possibility it isn't in there.

As mentioned above, if your ftp service is logging to syslog or has the ability, it may help to identify an issue.

--Ethan
 
Hi,

first of all - thank yaou all!

After a hard disk crash we had to rebuilt the system.
We decided to reinstall.

And very funny - now everything works!

We can enter with every user into ftp - but we still don't know what was wrong.

... we can live with that ...

rgds stoh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top