I'm a bit confused about the difference regarding vsftpd
configuration between local users and virtual users. From the point of view of vsftpd, it doesn't know if a user is a local user or a virtual user, isn't? vsftpd
just connect to the PAM module set in pam_service_name
, and if the credentials are correct according to PAM, the login is accepted.
So, why does vsftpd
documentation makes a difference between them?
For instance, I have got a personalized PAM module that takes login credentials from a database that doesn't use system local (/etc/passwd
) users, and consequently, I cannot log using any system account, even when local_enable
is set to YES
in my documentation.
This confusion is what makes me not fully understand the purpose of virtual_user_local_privs
. Under which circunstances does vsftpd
treats a logged user as local or virtual? Does PAM notifies it to vsftpd
in some way or what? O is there something that I've completely misunderstood?
Are this configuration options, maybe, still present because of legacy reasons?
All of this confusion comes from vsftp
not providing actual documentation, but just a reference.