# Step 8.1. PAM Rules

## Step-by-step

<span style="color: #a6d100; font-weight: bold; font-size: 18px;">1. </span> To create a new PAM Rule, you must access the PAM Rules page in the following path:

`Main Menu > Administration > Configure Soffid > Security settings > PAM rules`

<span style="color: #a6d100; font-weight: bold; font-size: 18px;">2. </span>To add a new PAM rule, you must click the add button (+) and Soffid will display a new window to fill in the data.

- The **Name** should be an identificative and unique rule name. That field will be mandatory.
- The **Description** should be a brief description of the rule.
- The **Type** allows you to select the rule will be a keyboard or a screen rule. That field will be mandatory.
- The **Content** should be what the rule will detect. For instance, a Linux command like *sudo* or *rm \*-r*. That field will be mandatory.

<span style="color: #a6d100; font-weight: bold; font-size: 18px;">3. </span>Then you need to click on the "Apply changes" button to save the new PAM rule.

<span style="color: #a6d100; font-weight: bold; font-size: 18px;">3.1. </span>If you click on the "Undo" button, no updates will be saved.

<span style="color: #a6d100; font-weight: bold; font-size: 18px;">4. </span>Finally you can create a PAM policy to apply the rules.

## Screen overview

![](https://bookstack.soffid.com/uploads/images/gallery/2021-08/embedded-image-yfkxhtij.png)