Operating System - HP-UX
1828225 Members
2486 Online
109975 Solutions
New Discussion

proftpd and shadow password file

 
SOLVED
Go to solution
MikeL_4
Super Advisor

proftpd and shadow password file

We are running HPUX 11.11 and just installed and converted to the Shadow Password file.

The problem I've run into is it seems that proftpd does not work with the shadow password.

We are running ixProftpd:
/opt/iexpress/proftpd/sbin/proftpd -v
- ProFTPD Version 1.2.10

When we try to do an ftp to this host the login is failing:

220 FTP Server Ready
User (osglbhp2:(none)): root
331 Password required for root.
Password:
530 Login incorrect.
Login failed.
ftp> by
221 Goodbye.

Any suggestions ??
4 REPLIES 4
Ivan Krastev
Honored Contributor

Re: proftpd and shadow password file

If root is is ftpusers file it can't login to the system. Check with another user to be sure .

regards,
ivan
spex
Honored Contributor

Re: proftpd and shadow password file

Hi,

ProFTPd denies root logins by default. If you really want to allow this, add 'RootLogin true' to proftpd.conf. If running in standalone mode, send its pid a SIGHUP to force it to re-read its configuration.

PCS
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: proftpd and shadow password file

I assume that proftpd worked with user root before you converted to shadowed passwords. I rather doubt that the binary distribution was configured to work with shadowed passwords (as opposed to trusted). I would download the source and build it.
If it ain't broke, I can fix that.
MikeL_4
Super Advisor

Re: proftpd and shadow password file

We found that HP when they made the proftpd depot compiled without shadow support:
proftpd -V
Features:
- Autoshadow support
- Shadow file suppport

We change the proftpd.conf file with:
AuthPam on

and this allowed the ftp's to work again..