Coder Social home page Coder Social logo

apparmorprofiles's Introduction

AppArmor Profiles

AppArmor profiles for my personal computer and server
Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License

About The Project

Contains all of personal important apparmor profiles used in my system and server.

This repo will always be updating to improve security of interactions between said software and the system. There are multiple profiles out in the internet, but these profiles are implemented and improved focusing on particular preferences.

Getting Started

To use the same profiles, I recommend to follow the following steps:

  1. As the mentioned system runs Void Linux:
sudo xbps-install apparmor libapparmor libapparmor-devel runit-void-apparmor
  1. Append the following to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub
apparmor=1 security=apparmor
  1. Set default mode to complain by changing the variable APPARMOR in /etc/default/apparmor
APPARMOR=complain
  1. Clone the repository
git clone github.com/70xH/AppArmorProfs
  1. Copy the files in the repo to the folder /etc/apparmor.d/

  2. Enforce the profile rules by using aa-enforce. For example

sudo aa-enforce <program_path>

Usage

This section will cover a simple example of how to write your own profile

TODO

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b profile/NewProfile)
  3. Commit your Changes (git commit -m 'Add some NewProfile')
  4. Push to the Branch (git push origin profile/NewProfile)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

apparmorprofiles's People

Contributors

8u6-57r34k avatar

Watchers

 avatar

Forkers

syllogy

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.