Sunry Chen
2011-Jul-14 12:13 UTC
[CentOS-docs] [Propose] Chroot vsftpd with non-system users
The proposed subject of Wiki contribution: Chroot vsftpd with non-system users The proposed location of Wiki contribution: http://wiki.centos.org/HowTos/Chroot_Vsftpd_with_non-system_users I propose this Wiki to give user choice that they can select whether virtual users and system account coexist in vsftpd system. The shell file vsftpd_virtual_config.sh should also adjust to make this function work. It works for me to put below two lines ahead of the original /etc/pam.d/vsftpd file: auth sufficient pam_userdb.so db=/etc/vsftpd/accounts account sufficient pam_userdb.so db=/etc/vsftpd/accounts
Ralph Angenendt
2011-Jul-17 22:12 UTC
[CentOS-docs] [Propose] Chroot vsftpd with non-system users
Am 14.07.11 14:13, schrieb Sunry Chen:> The proposed location of Wiki contribution: > http://wiki.centos.org/HowTos/Chroot_Vsftpd_with_non-system_users > > I propose this Wiki to give user choice that they can select whether > virtual users > and system account coexist in vsftpd system.That would mean to change all the scripts (and still makes it possible to use the same user name twice).> The shell file vsftpd_virtual_config.sh should also adjust to make > this function work.Yes, as the scripts at the moment fiddle with user accounts, so real user accounts are getting deleted.> It works for me to put below two lines ahead of the original > /etc/pam.d/vsftpd file: > auth sufficient pam_userdb.so db=/etc/vsftpd/accounts > account sufficient pam_userdb.so db=/etc/vsftpd/accountsHmmm. Is this change really needed or will that lead to confusion? Any opinions on that? Ralph