Operating System - HP-UX
1825962 Members
3187 Online
109690 Solutions
New Discussion

Access denied (HP-UX 10.20 and wu_ftpd)

 
Bolek Mynarski
Frequent Advisor

Access denied (HP-UX 10.20 and wu_ftpd)

Hi there,

I am in a little bit of a pickle. Recently,
we have "inherited" a box which we
have to take a care of. It's a K class
box running HP-UX 10.20. One of the things I
wanted to fix right away was to box users in
so they could not roam the system while ftping
to it. The stock version of ftpd daemon that
comes with 10.20 does not cut it. I can't perform chroot on user upon logon so I decided to install wu_ftpd daemon. I got it from HP-UX software porting site because wu_ftpd on software.hp.com is available only for 11.00.

So, I installed it, configured it, made sure that /etc/shells file exists (yes, by doing
awk -F: '{ print $NF }' /etc/passwd | sort | uniq > /etc/shells) and adding a few other default shells which were not present in my /etc/passwd file. Having said that, I can't login. I am going bananas here.

Here is what I have:

Upon logon:
FTP server (Version wu-2.6.1(2) Fri Jul 14 14:09:42 BST 2000) ready
Name (servername:user): user
331 Password required for user.
Password:
530 Login incorrect.
Login failed.

And my log file:
Feb 7 07:32:16 server ftpd[25832]: USER user
Feb 7 07:32:19 server ftpd[25832]: PASS password
Feb 7 07:32:19 server ftpd[25832]: failed login from remote host [x.x.x.x]
Feb 7 07:32:19 server ftpd[25832]: cmd failure - not logged in
Feb 7 07:32:19 server ftpd[25832]: SYST

And that's where it ends. I can't get it to work. Another thing that I should mention is that this particular system runs in 'trusted' mode. Would that have anything to do with my problem?

Thanks.
It'snever too late to learn new things...
3 REPLIES 3
harry d brown jr
Honored Contributor

Re: Access denied (HP-UX 10.20 and wu_ftpd)

I'm wondering if wu-ftp has the calls to get the trusted passwd. The calls are at least getprpwent, getprpwuid, getprpwnam, getprpwaid, ...

live free or die
harry
Live Free or Die
Richard Darling
Trusted Contributor

Re: Access denied (HP-UX 10.20 and wu_ftpd)

I recently setup WU FTP, but not on a trusted system. The most complete and easiest doc I found on th esubject was this one:
http://www.wu-ftpd.org/HOWTO/guest.HOWTO

There are a lot of other good docs at this site.
RD
Arturo Perez del Galleg
Frequent Advisor

Re: Access denied (HP-UX 10.20 and wu_ftpd)

Hi, Boleslaw!
Sure you have resolved the problem, but, perhaps... I have the same problem and i have installed the wu-tfpd-2.6.2 compiling it from the source. It run perfect!
You can download it from
http://www.wu-ftpd.org/mirrors.html
HTH