Skip to contentSkip to conversation

services_ftp.patch

refpolicy Daniel J Walsh 5 participants 7 messages Feb 23, 2010 – Apr 27, 2010

lore
Share & tools
lore
#2 lore raw

I don't know in relation to this policy, but I know ProFTPD can use a mysql db for authentication.

Later,
Chris

Quoted 19 lines · Christopher J. PeBenito
Quoted 4 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F13/services_ftp.patch

Better handling of proftpd

Why does ftpd_t need sys_admin?

The change for ftp_home_dir is not acceptable. Enabling that tunable shouldn't allow access to all files.

Why does ftp need to connect to a db?

Quoted 2 lines

Added handling of sftpd from sshd

Otherwise merged.

#3 lore raw
Quoted 19 lines · On Mon, 26 Apr 2010 14:36:26 -0500 Chris Richards <[email protected]> wrote:

I don't know in relation to this policy, but I know ProFTPD can use a mysql db for authentication.

Later,
Chris

Quoted 12 lines · Christopher J. PeBenito
Quoted 4 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F13/services_ftp.patch

Better handling of proftpd

Why does ftpd_t need sys_admin?

The change for ftp_home_dir is not acceptable. Enabling that tunable shouldn't allow access to all files.

Why does ftp need to connect to a db?

Not just ProFTPd. See discussion here:

http://lists.fedoraproject.org/pipermail/selinux/2009-February/010463.html

Paul.

#5 lore raw
In reply to Christopher J. PeBenito

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 6 lines · Christopher J. PeBenito
Quoted 3 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F13/services_ftp.patch

Better handling of proftpd

Why does ftpd_t need sys_admin?

mounting file system on login?

Quoted 4 lines

The change for ftp_home_dir is not acceptable. Enabling that tunable shouldn't allow access to all files.

Perhaps we need another boolean, to allow full access. If some wants to allow an ftp server to provide access to all files on the machine.

Quoted 2 lines

Why does ftp need to connect to a db?

You can use a mysql database as a back end for ftp.

Quoted 4 lines
Quoted 1 line

Added handling of sftpd from sshd

Otherwise merged.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkvW3rYACgkQrlYvE4MpobNmXACg6tElqZUPBgxM7sRM52ApIjpv pvsAn3NodMz+sw+ysgmqU67O3B0MI/ZT
=RXkF
-----END PGP SIGNATURE-----

#6 lore raw
Quoted 6 lines · Daniel J Walsh
Quoted 4 lines · Christopher J. PeBenito
Quoted 3 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F13/services_ftp.patch

Better handling of proftpd

Quoted 8 lines
Quoted 1 line

Why does ftpd_t need sys_admin?

mounting file system on login?

Quoted 2 lines

The change for ftp_home_dir is not acceptable. Enabling that tunable shouldn't allow access to all files.

Perhaps we need another boolean, to allow full access. If some wants to allow an ftp server to provide access to all files on the machine.

Looks like that is already in place:

tunable_policy(sftpd_full_access',

	allow sftpd_t self:capability { dac_override dac_read_search };
	fs_read_noxattr_fs_files(sftpd_t)
	auth_manage_all_files_except_shadow(sftpd_t)

')

Quoted 8 lines
Quoted 1 line

Why does ftp need to connect to a db?

You can use a mysql database as a back end for ftp.

Quoted 3 lines
Quoted 1 line

Added handling of sftpd from sshd

Otherwise merged.

_______________________________________________
refpolicy mailing list
refpolicy at oss.tresys.com
http://oss.tresys.com/mailman/listinfo/refpolicy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20100427/f8dd513d/attachment.bin