<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Reboot from terminal?]]></title><description><![CDATA[<p dir="auto">How do I reboot my phone from the terminal, without having to type the password? I have a cron-job running to check connectivity, and I would like the script to able to boot the phone under certain circumstances. I tried adding: Cmnd_Alias SHUTDOWN_CMDS = /sbin/poweroff, /sbin/shutdown, /sbin/reboot &amp; phablet ALL=(ALL) NOPASSWD: SHUTDOWN_CMDS with visudo after remounting / as rw, but it still prompts me. Any ideas?</p>
<p dir="auto">Regards</p>
<p dir="auto">Grisen</p>
]]></description><link>https://forums.ubports.com/topic/892/reboot-from-terminal</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 08:08:14 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/892.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 14 Jan 2018 19:13:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Reboot from terminal? on Wed, 17 Jan 2018 21:22:13 GMT]]></title><description><![CDATA[<p dir="auto">Well "sudo reboot" works, but it prompts me for the password. I tried adding the job to sudo's crontab, but that doesn't work. The solution I described in post 1 works on a desktop ubuntu. After doing what I described, "sudo reboot" reboots the machine without prompting for password.</p>
<p dir="auto">Regards</p>
<p dir="auto">Grisen</p>
]]></description><link>https://forums.ubports.com/post/6699</link><guid isPermaLink="true">https://forums.ubports.com/post/6699</guid><dc:creator><![CDATA[Grisen]]></dc:creator><pubDate>Wed, 17 Jan 2018 21:22:13 GMT</pubDate></item><item><title><![CDATA[Reply to Reboot from terminal? on Wed, 17 Jan 2018 19:41:14 GMT]]></title><description><![CDATA[<p dir="auto">In my terminal, "sudo reboot" works.  Does "reboot" or "sudo reboot" work in your cron job?</p>
]]></description><link>https://forums.ubports.com/post/6696</link><guid isPermaLink="true">https://forums.ubports.com/post/6696</guid><dc:creator><![CDATA[tupp]]></dc:creator><pubDate>Wed, 17 Jan 2018 19:41:14 GMT</pubDate></item></channel></rss>