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
Hashem Alserhan -
Christos Kotzias -
McCarty Kern -
Sunder Kumar -
Top comments (0)