Quantcast
Channel: Execute sudo without Password? - Ask Ubuntu
Viewing all articles
Browse latest Browse all 14

Answer by WinEunuuchs2Unix for Execute sudo without Password?

$
0
0

From Super User comes a good answer:

Use the -S switch which reads the password from STDIN:

echo <password> | sudo -S <command>

Replace <password> with your password.


Viewing all articles
Browse latest Browse all 14

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>