A new SELinux boolean, ''deny_ptrace'', has been added. It is recommended that users who do not plan to debug applications on their machine turn this boolean on. The boolean prevents rogue processes from being able to read the memory of, or otherwise attack, other processes using debugging tools including ''ptrace'' and ''gdb''.

+

+

Such attacks are prevented even where the rogue process is running as the root user or attacking a process running with the same SELinux context and label. To permanently enable the protection provided by the ''deny_ptrace'' boolean, execute the following command as root:

+

+

<code># setsebool -P deny_ptrace 1</code>

+

+

To disable the protection provided by the ''deny_ptrace'' boolean temporarily, execute the following command as root:

+

+

<code># setsebool deny_ptrace 0</code>

+

+

<!-- https://fedoraproject.org/wiki/Features/SELinuxDenyPtrace -->

== Services Private /tmp ==

== Services Private /tmp ==

Revision as of 15:03, 22 February 2012

Beat is openThis beat is now ready to have Fedora 22 content added by the beat writer

Contents

Password Quality Checking

Fedora now has a single configurable library, libpwquality, for checking the quality of new passwords used for system accounts. The system wide password quality checks provided by this library are configured by modifying the /etc/security/pwquality.conf configuration file.

Developers wishing to call this API from their applications will find the API description in the pwquality.h file provided by the libpwquality-devel package. A python wrapper, python-pwquality, is also provided.

SELinux Deny Ptrace

A new SELinux boolean, deny_ptrace, has been added. It is recommended that users who do not plan to debug applications on their machine turn this boolean on. The boolean prevents rogue processes from being able to read the memory of, or otherwise attack, other processes using debugging tools including ptrace and gdb.

Such attacks are prevented even where the rogue process is running as the root user or attacking a process running with the same SELinux context and label. To permanently enable the protection provided by the deny_ptrace boolean, execute the following command as root:

# setsebool -P deny_ptrace 1

To disable the protection provided by the deny_ptrace boolean temporarily, execute the following command as root: