Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS Docs (http://www.linux-archive.org/centos-docs/)
-   -   Chroot vsftpd with non-system users (http://www.linux-archive.org/centos-docs/552405-chroot-vsftpd-non-system-users.html)

Sunry Chen 07-14-2011 12:13 PM

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
_______________________________________________
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs

Ralph Angenendt 07-17-2011 10:12 PM

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/accounts

Hmmm. Is this change really needed or will that lead to confusion?

Any opinions on that?

Ralph
_______________________________________________
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


All times are GMT. The time now is 06:56 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.