ubuntu:pam:restrict_root_access_to_ssh_service
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:pam:restrict_root_access_to_ssh_service [2019/12/01 13:05] – created peter | ubuntu:pam:restrict_root_access_to_ssh_service [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
We can use the **/ | We can use the **/ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Configure a PAM config file for the service to be restricted ===== | ||
Open and edit the file for the target service in the **/ | Open and edit the file for the target service in the **/ | ||
Line 20: | Line 24: | ||
---- | ---- | ||
+ | |||
+ | ===== Add PAM rule ===== | ||
Add this rule in both files. | Add this rule in both files. |
ubuntu/pam/restrict_root_access_to_ssh_service.1575205503.txt.gz · Last modified: 2020/07/15 09:30 (external edit)