Hi,
I have the following line put in the /etc/sudoers in my kickstart file which after an action following installation is performed i wish to have the line removed.
Code:
echo "system ALL=NOPASSWD: ALL" >> /etc/sudoers
I have tried a few different sed commands but I can't get any of them to work, not sure if it is because there is whitespace in the line or not.... The sed (or equivalent command needs to run in a script)
Any ideas would be greatly appreciated.
Thanks!