Disable FIPS mode

skp18

New Member
Joined
Dec 4, 2022
Messages
16
Reaction score
1
Credits
152
What does this command 2nd line do? It seems it removes the fips=1 argument from the kernel command line.
Should this command be a one-liner? I was not able to run each line separately.

grubby --update-kernel=ALL --remove-args=fips=1
[[ -f /etc/default/grub ]] && sed -i 's/ fips=1//' /etc/default/grub
 


The syntax doesn't seem quite right, I'm not sure you can do a sed this way.
But yes, it appears to be that sed is trying to replace "fips=1" with null in your
/etc/default/grub

The way it's written, it will only replace the first instance it sees.
 

Members online


Top