Skip to content
Advertisement

How to append a line at the end of /etc/sudoers file using shell script (without using pssh tool)

I want to append a few lines at the end of /etc/sudoers file. Below is an example of lines I want to append.

JavaScript

Can anyone suggest how to append this using a shell script?

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement