mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-12-17 17:53:58 -05:00
output
This commit is contained in:
parent
8f99672cb2
commit
b7b6b6e5fb
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 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