V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m5s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m5s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -612,7 +612,7 @@ pam_access_sync_login_sshd() {
|
|||||||
awk '
|
awk '
|
||||||
BEGIN { done=0 }
|
BEGIN { done=0 }
|
||||||
{
|
{
|
||||||
if (!done && $0 ~ /^[[:space:]]*#[[:space:]]*account[[:space:]]+required[[:space:]]+pam_access\.so([[:space:]]|$/)) {
|
if (!done && $0 ~ /^[[:space:]]*#[[:space:]]*account[[:space:]]+required[[:space:]]+pam_access\.so([[:space:]]|$)/) {
|
||||||
### Drop leading '#'+spaces; use 2-arg form to avoid $0 in the source.
|
### Drop leading '#'+spaces; use 2-arg form to avoid $0 in the source.
|
||||||
sub(/^[[:space:]]*#[[:space:]]*/, "")
|
sub(/^[[:space:]]*#[[:space:]]*/, "")
|
||||||
done=1
|
done=1
|
||||||
|
|||||||
Reference in New Issue
Block a user