Operating System - HP-UX
1838591 Members
3633 Online
110128 Solutions
New Discussion

vsftpd with pam for the virtual user

 
SOLVED
Go to solution
feuillet
Advisor

vsftpd with pam for the virtual user

Hi

I have a problem with vsftpd and pam

How make for the vsftpd use pam because my vsftpd is running but it not use the pam configuration with the berkley database.

thanks for the information
9 REPLIES 9
Ivan Ferreira
Honored Contributor

Re: vsftpd with pam for the virtual user

Normally, you should configure the pam_service_name parameter, for example:

pam_service_name=vsftpd

Ensure that vsftpd was build with pam support, use ldd to verify that.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
feuillet
Advisor

Re: vsftpd with pam for the virtual user

Thanks for the infomration, but I don't know "idd" and I don't find information on "idd".

What's the "idd"?
Muthukumar_5
Honored Contributor
Solution

Re: vsftpd with pam for the virtual user

It is ldd not idd. see man ldd.

ldd - list dynamic dependencies of executable files or shared
libraries

ldd `which vsftpd` or
ldd

It has to give pam related libraries.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: vsftpd with pam for the virtual user

Hello,

"ldd" is used to list dynamic dependencies of executable files or shared libraries. You can use as, # ldd

It will display all the dynamic dependancies.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
feuillet
Advisor

Re: vsftpd with pam for the virtual user

I make "ldd " and this is the answer :

>
/usr/lib/libc.2 > /usr/lib/libc.2
/usr/lib/libcdld.2 > /usr/lib/libcdld.2
/usr/lib/libc.2 > /usr/lib/libc.2
/usr/lib/libsec.2 > /usr/lib/libsec.2
/usr/lib/libm.2 > /usr/lib/libm.2
/usr/lib/libpam.1 > /usr/lib/libpam.1

It's good?
Arunvijai_4
Honored Contributor

Re: vsftpd with pam for the virtual user

Yes, It looks good. You can go ahead and configure it.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
feuillet
Advisor

Re: vsftpd with pam for the virtual user

Thanks ever so much

So /etc/pam.conf is configured. And I have create a berkley database for the virtual user. But I don't connect with a login of virtual user, alone with the local user.

Do you know why?
Arunvijai_4
Honored Contributor

Re: vsftpd with pam for the virtual user

Its always better to create a "ftponly" user account and assign no shell to that. It is considered as a secure method for FTP access.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
feuillet
Advisor

Re: vsftpd with pam for the virtual user

Ok for the local user, thanks

and for create virtual user, how I do?