mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-12-18 09:02:17 -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
|
if [[ "$kernel_cmdline" =~ 'boot-role=sysmaint' ]]; then
|
||||||
true "INFO: session type: sysmaint session"
|
true "INFO: session type: sysmaint session"
|
||||||
if [ "$PAM_USER" != 'sysmaint' ]; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
true 'INFO: Running in sysmaint session and authenticating as sysmaint account, allowing authentication to proceed.'
|
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