Prevent PAM from enforcing security and preventing sudo from working. This is done by replacing the default configuration (designed for workstations) to one that uses pam_permit for everything.
10 lines
233 B
Plaintext
10 lines
233 B
Plaintext
#%PAM-1.0
|
|
# Dummy system-auth file to allow sudo within the container
|
|
auth required pam_permit.so
|
|
|
|
account required pam_permit.so
|
|
|
|
password required pam_permit.so
|
|
|
|
session required pam_permit.so
|