2019-12-02 11:48:25 +00:00
|
|
|
# MUNGE
|
|
|
|
|
|
|
|
The munge package.
|
|
|
|
|
2019-12-02 12:09:02 +00:00
|
|
|
MUNGE (**M**UNGE **U**id '**N**' **G**id **E**mporium) is an authentication service for creating and validating credentials.
|
2019-12-02 11:48:25 +00:00
|
|
|
|
2020-11-18 16:59:56 +00:00
|
|
|
A secret key must be created before starting the service for the first time. This can be done with the following command:
|
2021-04-30 06:46:14 +00:00
|
|
|
|
2020-11-18 16:59:56 +00:00
|
|
|
```bash
|
|
|
|
sudo -u munge /usr/sbin/mungekey -v
|
2020-11-17 22:46:02 +00:00
|
|
|
```
|
2019-12-02 11:48:25 +00:00
|
|
|
|
2021-04-30 06:46:14 +00:00
|
|
|
Please read `man 8 mungekey` for more information.
|
2020-11-17 22:46:02 +00:00
|
|
|
In the second step you can start and enable the munge service.
|
2021-04-30 06:46:14 +00:00
|
|
|
|
2019-12-02 12:04:27 +00:00
|
|
|
```bash
|
2019-12-02 11:48:25 +00:00
|
|
|
systemctl start munge
|
2020-11-18 16:59:56 +00:00
|
|
|
systemctl enable munge
|
2021-04-30 06:46:14 +00:00
|
|
|
```
|