Geschrieben March 9, 2017 at 17:289. Mär 2017 Hallo, wie ist es möglich Bash Befehle als root auszuführen? Also beispielsweise os.system("sudo shutdown -h now")?
Geschrieben March 9, 2017 at 21:059. Mär 2017 Kennworteingabe erforderlich! in bash: sudo -s oder su -
Geschrieben March 10, 2017 at 12:4810. Mär 2017 Autor Also ist das als automatisch gestartetes Program gar nicht möglich? Ich will mich ja nicht jedes mal selber auf die Konsole schalten
Geschrieben March 23, 2017 at 09:5023. Mär 2017 Das geht z.B. so: os.system('echo tf | sudo -S -p "" shutdown -h now')
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.