Merge pull request #39 from jordydickinson/master
Minor revision to README.md
This commit is contained in:
commit
da2ad72809
26
README.md
26
README.md
@ -8,7 +8,7 @@ pam\_panic is a PAM module that protects sensitive data and provides a panic fun
|
||||
|
||||
|
||||
## How it works
|
||||
You can choose one of two options:
|
||||
You can choose from one of two options:
|
||||
|
||||
### Using two removable media
|
||||
There are two removable media which work as keys: the auth key and the panic key. The auth key will let you pass to the password prompt whereas the panic key, if provided, will securely erase the LUKS header, rendering the data unreadable.
|
||||
@ -17,26 +17,24 @@ There are two removable media which work as keys: the auth key and the panic key
|
||||
There are two passwords you are able to set: the key password and the panic password. The key password will let you pass to the original password prompt whereas the panic password, if provided, will securely erase the LUKS header, rendering the data unreadable.
|
||||
|
||||
|
||||
|
||||
## Installation
|
||||
You will need GCC or similar, as well as the PAM headers. Some distributions package the PAM headers as `libpam0g-dev`.
|
||||
|
||||
To compile and install it, do the following within the project's root directory:
|
||||
|
||||
```
|
||||
autoreconf -i
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
```console
|
||||
$ [ ! -e ./configure ] && autoreconf -i
|
||||
$ ./configure
|
||||
$ make
|
||||
$ sudo make install
|
||||
```
|
||||
|
||||
Note: the paths of the `reboot`, `poweroff`, and `cryptsetup` commands are passed to the module at compile-time.
|
||||
|
||||
## Preparation
|
||||
In that case you want to use removable media:
|
||||
You'll need two GPT-formatted removable storage devices, and said devices must have at least one partition. Here's an example `fdisk` session, showing how this might be accomplished:
|
||||
If you want to use removable media you'll need two GPT-formatted removable storage devices, and said devices must have at least one partition. Here's an example `fdisk` session, showing how this might be accomplished:
|
||||
|
||||
```
|
||||
```console
|
||||
$ sudo fdisk /dev/sdc
|
||||
|
||||
Welcome to fdisk (util-linux 2.31.1).
|
||||
@ -59,7 +57,7 @@ Command (m for help): w
|
||||
You'll find the UUID of your partition in `/dev/disk/by-partuuid/`. You can find out which device is which typing `ls -l /dev/disk/by-partuuid/` in your favourite shell.
|
||||
|
||||
## Configuration
|
||||
To configure the module, add the following to the appropriate PAM configuration file(s): (see pam.conf(5) for details on these files).
|
||||
To configure the module, add the following to the appropriate PAM configuration file(s): (see pam.conf(5) for details on these files)
|
||||
|
||||
### Using the removable media:
|
||||
```
|
||||
@ -73,10 +71,8 @@ auth requisite /usr/local/lib/security/pam_panic.so password reboot ser
|
||||
account requisite /usr/local/lib/security/pam_panic.so
|
||||
```
|
||||
|
||||
|
||||
|
||||
See `man 8 pam_panic` for more.
|
||||
|
||||
## More information
|
||||
See `man 8 pam_panic` for more information.
|
||||
|
||||
## TODO
|
||||
- [Manpage translations](https://github.com/Bandie/pam_panic/issues?q=is%3Aissue+is%3Aopen+label%3Alocalization)
|
||||
|
Loading…
Reference in New Issue
Block a user