Git Product home page Git Product logo

polkit-default-privs's Introduction

polkit-default-privs

This repository contains documentation, configuration and programs for implementing different polkit security profiles in SUSE Linux distributions.

polkit is a security framework that allows applications to authenticate privileged operations. The details of authentication can be configured in a fine-grained way via polkit policies and rules. While all this is fine feature wise polkit is not known for its user friendliness.

To help users to configure different security levels, polkit-default-privs provides a mechanism to switch between sets of predefined polkit security settings that are targeted towards different usage scenarios. For detailed information please refer to the shipped man pages.

This is a short overview of the elements contained in this repository:

  • The chkstat and set_polkit_default_privs scripts perform runtime configuration of selected polkit profiles.
  • The files in the profile directory contain the actual polkit rules for actions in the different security profiles.
  • The sysconfig file contains a configuration template that will be merged into /etc/sysconfig/security during rpm installation. These configuration values determine the behaviour of chkstat and set_polkit_default_privs.

The Makefile is used to build documentation and install files in an installation root. This is used to package the files in an openSUSE package found in Base:System/polkit-default-privs on https://build.opensuse.org.

polkit-default-privs is also used as a whitelisting mechanism in SUSE Linux distributions to prevent new polkit actions to enter the distribution without a code review. Only packages that have an entry in the polkit-default-privs profiles will be considered whitelisted.

The polkit-default-privs are part of the base installation of all SUSE Linux distributions. This means that the polkit settings in SUSE Linux distributions often diverge from defaults shipped by upstream developers, depending on the settings in our profiles and the profile selected by the administrator of a system. Sadly upstream software is not always well prepared to deal with diverging polkit settings which can lead to a bad user experience or even broken software in extreme cases. We are trying to catch theses cases and patch our packages or improve upstream code.

Maintainer

The current maintainer of polkit-default-privs is the SUSE security team reachable by email via [email protected]. If you have an issue then please open a bug via bugzilla.suse.com, assigning it to [email protected].

polkit-default-privs's People

Contributors

beninidavide avatar filippobonazzisuse avatar jsegitz avatar lnussel avatar mgerstner avatar msmeissn avatar p4zuu avatar schubi2 avatar stefanbruens avatar thesp0nge avatar wfrisch avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.