How to allow certain user to use FTP?

Hello AIXians,

I created a user 'test'
its home directory is: /home/ari/test

I tried to login by ftp using this account, but it failed!
The FTP service is enabled, and the user 'test' is not added to the /etc/ftpusers file.

Not the best choice of user name, but can you show us the output from (as root):-

# lsuser test | tr " "  "\n"         - translate space to newline
# ls -ld /home/ari/test
# grep ftpd /etc/inetd.conf
# ps -ef | grep ft[p]

Can you also show us the error messages you are getting. Please post the output in CODE tags to make it easier to read.

This will give us something to work from.

Thanks,
Robin
Liverpool/Blackburn
UK

when you say failed, what do you mean?

FTP shows error codes when trying to login eg. authentication failed. i would change that user id to maybe test-ftp or anything besides just test.

Other prospective places to look are the files /etc/ftpaccess.ctl (see IBMs ftpd man page), possible ACLs or privileges on the ftp client ( /usr/bin/ftp ), your environment (which may contain misleading macros, an incomplete PATH variable and the like) and a running ftpd-daemon on the target machine (see /etc/inetd.conf ).

Probably the one or other myriad of things i just happen not to think about right now too.

You might get better answers if you ask better questions, like techy1 already mentioned.

I hope this helps.

bakunin