How do I sudo a command in a script without being asked for a password?
I have a small script file, to run Nautilus as root. that reads:
and it prompts for the root password.
Is there a way to automatically input my password inside the script file?
I know this is not a safe practice, I just want to know if I can do it.