ricardo777
New Member
Hello,
Can someone help me with the following command:
sed -i -e "s/Defaults requiretty/#Defaults requiretty/g" /etc/sudoers
This will disable requiretty in the sudo file but when you run the command multiple times it adds an # every time the command runs.
Thank you.
Can someone help me with the following command:
sed -i -e "s/Defaults requiretty/#Defaults requiretty/g" /etc/sudoers
This will disable requiretty in the sudo file but when you run the command multiple times it adds an # every time the command runs.
Thank you.