mirror of
https://github.com/Kicksecure/security-misc.git
synced 2026-01-04 06:35:39 -05:00
fix
This commit is contained in:
parent
55a9755d90
commit
8aef71c254
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ fi
|
|||
if [[ "$kernel_cmdline" =~ 'boot-role=sysmaint' ]]; then
|
||||
true "INFO: session type: sysmaint session"
|
||||
if [ "$PAM_USER" != 'sysmaint' ]; then
|
||||
printf '%s\n' 'ERROR: Rejecting non-sysmaint account '$PAM_USER' in sysmaint session!'
|
||||
printf '%s\n' "ERROR: Rejecting non-sysmaint account '$PAM_USER' in sysmaint session!"
|
||||
exit 1
|
||||
fi
|
||||
true 'INFO: Running in sysmaint session and authenticating as sysmaint account, allowing authentication to proceed.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue