"Éteindre PC" après téléchargement KO

Postez ici vos questions en français. Vous pourriez avoir de meilleures et plus rapides réponses que dans les forums anglais. ASTUCE: vous pouvez sélectionner français dans votre profil utilisateur.
Locked
louis-21
Newbie
Newbie
Posts: 4
Joined: February 14th, 2015, 9:45 pm

"Éteindre PC" après téléchargement KO

Post by louis-21 »

Bonjour a tous,
Bien que je choisisse l'action "Éteindre PC" après téléchargement, il ne s’éteint pas car il a besoins d'une élévation (demande du mot de passe super user )
Comment faire pour que ça fonctionne ?

in english : 'Shutdown doesn'work, need elevation (need password of su) how can i do ?

Je suis sur UBUNTU
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily



merci

le log:
2016-01-02 10:51:25,876::INFO::[__init__:919] Saving data for postproc1.sab in /home/louis/.sabnzbd/admin/postproc1.sab
2016-01-02 10:51:25,877::INFO::[downloader:246] Post-processing finished, resuming download
2016-01-02 10:51:26,877::INFO::[nzbqueue:218] Saving queue
2016-01-02 10:51:26,878::INFO::[__init__:919] Saving data for queue9.sab in /home/louis/.sabnzbd/admin/queue9.sab
2016-01-02 10:51:26,878::INFO::[__init__:919] Saving data for totals9.sab in /home/louis/.sabnzbd/admin/totals9.sab
2016-01-02 10:51:26,879::INFO::[__init__:919] Saving data for rss_data.sab in /home/louis/.sabnzbd/admin/rss_data.sab
2016-01-02 10:51:26,879::INFO::[__init__:919] Saving data for bookmarks.sab in /home/louis/.sabnzbd/admin/bookmarks.sab
2016-01-02 10:51:26,879::INFO::[__init__:919] Saving data for watched_data.sab in /home/louis/.sabnzbd/admin/watched_data.sab
2016-01-02 10:51:26,880::INFO::[postproc:85] Saving postproc queue
2016-01-02 10:51:26,880::INFO::[__init__:919] Saving data for postproc1.sab in /home/louis/.sabnzbd/admin/postproc1.sab
2016-01-02 10:51:26,880::INFO::[postproc:677] Queue has finished, launching: <function system_shutdown at 0x7f1752fa4410> (None)
2016-01-02 10:51:26,880::INFO::[__init__:676] Performing system shutdown
2016-01-02 10:51:26,881::INFO::[__init__:373] SABnzbd shutting down...
2016-01-02 10:51:26,882::INFO::[__init__:919] Saving data for bookmarks.sab in /home/louis/.sabnzbd/admin/bookmarks.sab
2016-01-02 10:51:26,882::INFO::[urlgrabber:72] URLGrabber shutting down
2016-01-02 10:51:27,379::INFO::[__init__:919] Saving data for watched_data.sab in /home/louis/.sabnzbd/admin/watched_data.sab
2016-01-02 10:51:27,379::INFO::[dirscanner:268] Dirscanner shutting down
2016-01-02 10:51:28,881::INFO::[growler:298] Send to NotifyOSD: SABnzbd / Arrêt en cours...
2016-01-02 10:51:28,883::INFO::[growler:304] NotifyOSD not working
2016-01-02 10:51:28,884::INFO::[downloader:405] Shutting down
2016-01-02 10:51:28,885::INFO::[assembler:74] Shutting down
2016-01-02 10:51:28,885::INFO::[postproc:85] Saving postproc queue
2016-01-02 10:51:28,886::INFO::[__init__:919] Saving data for postproc1.sab in /home/louis/.sabnzbd/admin/postproc1.sab
2016-01-02 10:51:28,886::INFO::[nzbqueue:218] Saving queue
2016-01-02 10:51:28,887::INFO::[__init__:919] Saving data for queue9.sab in /home/louis/.sabnzbd/admin/queue9.sab
2016-01-02 10:51:28,887::INFO::[__init__:919] Saving data for totals9.sab in /home/louis/.sabnzbd/admin/totals9.sab
2016-01-02 10:51:28,888::INFO::[__init__:919] Saving data for rss_data.sab in /home/louis/.sabnzbd/admin/rss_data.sab
2016-01-02 10:51:28,888::INFO::[__init__:919] Saving data for bookmarks.sab in /home/louis/.sabnzbd/admin/bookmarks.sab
2016-01-02 10:51:28,889::INFO::[__init__:919] Saving data for watched_data.sab in /home/louis/.sabnzbd/admin/watched_data.sab
2016-01-02 10:51:28,889::INFO::[postproc:85] Saving postproc queue
2016-01-02 10:51:28,889::INFO::[__init__:919] Saving data for postproc1.sab in /home/louis/.sabnzbd/admin/postproc1.sab
2016-01-02 10:51:28,890::INFO::[__init__:440] All processes stopped
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: "Éteindre PC" après téléchargement KO

Post by shypike »

One solution would be to run SABnzbd as super user (administrator).
This is a bit of a risk, so I do not recommend it.
Another would be to create a script and give that elevated rights.
More info here:
http://askubuntu.com/questions/209714/a ... ash-script
louis-21
Newbie
Newbie
Posts: 4
Joined: February 14th, 2015, 9:45 pm

Re: "Éteindre PC" après téléchargement KO

Post by louis-21 »

OK merci pour le lien, je créerais un script alors :)
OK thanks for the URL, so I'll create a script.
Locked