Debian Codegraph @

README.md

raw symbols SCIP
1 # Authselect
2
3 *Authselect is a tool to select system authentication and identity sources from a list of supported profiles.*
4
5 It is designed to be **a replacement for authconfig** (which is the default tool for this job on Fedora and RHEL based systems) but it takes a different approach to configure the system. Instead of letting the administrator build the PAM stack with a tool (which may potentially end up with a broken configuration), *it would ship several tested stacks* (profiles) that solve a use-case and are **well tested and supported**. At the same time, some obsolete features of authconfig would not be supported by **authselect**.
6
7 This tool aims to be first shipped along and later deprecate and later replace authconfig in a future Fedora release.
8
9 ## Prerequisites
10
11 Authselect requires few packages to be installed during build time. To install them on a Fedora machine, run:
12
13 ```bash
14 $ sudo dnf install \
15 autoconf \
16 automake \
17 libtool \
18 m4 \
19 pkgconfig \
20 gettext-devel \
21 popt-devel \
22 asciidoc \
23 libselinux-devel
24 ```
25
26 ## Checkout the code
27
28 To check out the code from a GitHub git repository to your local machine, run the following command:
29
30 ```bash
31 $ git clone https://github.com/authselect/authselect.git
32 ```
33
34 ## Compile, build and install authselect
35
36 After you checkout the code, you can build, install and run **authselect** on your system with these commands:
37
38 ```bash
39 $ cd authselect
40 $ autoreconf -iv
41 $ ./configure --enable-silent-rules
42 $ make
43 $ sudo make install
44 ```
45
46 This will make **authselect** available on your system and running this tool will modify your system configuration. If you only want to test this tool to see how it behaves and what it does without actually modifying anything on your system, we recommend you to replace `./configure --enable-silent-rules` with `./configure --enable-silent-rules --prefix="/path/to/install/directory"` which makes installation location in `/path/to/install/directory` and all changes will be confined inside this directory.
47
48 ```bash
49 $ cd authselect
50 $ autoreconf -iv
51 $ ./configure --enable-silent-rules --prefix="/path/to/install/directory"
52 $ make
53 $ make install
54 ```
55
56 ## Testing authselect
57
58 Before you tryout the tool, checkout its manual pages `man authselect` and its command line help with `sudo authselect --help`. Authselect needs to be run as root so it can perform system-wide changes.
59
60 The most important commands are:
61
62 ```bash
63 # List all available profiles
64 $ sudo authselect list
65
66 # See what changes will be done by activating profile named $profilename
67 $ sudo authselect test $profilename
68
69 # Activate a profile named $profilename on the system
70 $ sudo authselect select $profilename
71 ```
72
73 ## Contribution
74
75 Any contribution to authselect is welcome. We use git and [GitHub flow](https://help.github.com/articles/github-flow/) for development.
76
77 * If you want to report a bug or request a new feature to be implemented, please open an issue here: [Issues](https://github.com/authselect/authselect/issues).
78 * If you want to submit a patch, please open a new pull request here: [Pull Requests](https://github.com/authselect/authselect/pulls).