If you’re using the terminal on Linux or Mac, echo <password> | sudo -S <command>
.
If you’re doing this programmatically, for example in Python, os.system(f'echo {password} | sudo -S {command}')
.
If you’re using the terminal on Linux or Mac, echo <password> | sudo -S <command>
.
If you’re doing this programmatically, for example in Python, os.system(f'echo {password} | sudo -S {command}')
.
For further actions, you may consider blocking this person and/or reporting abuse
Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.
Bob Cars(on) -
Mike Young -
Mike Young -
Mike Young -
Top comments (0)