+ 5
Execute Linux service commands using Python?
I need to ssh to a Linux server as a normal user and execute service command (with sudo privileges).I need to do this using a Python script, and also need to bypass the sudo credentials which the Linux shell will ask when executing sudo commands. Can anyone help me out?
1 Resposta