Anyone ever used shell to send commands that require sudo in terminal? Please help if you know how.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn Tue, Oct 8, 2013 at 12:15 PM, Steve Graham <skgrahamjr@gmail.com> wrote:Agreed. I replaced -h with -r and it still fails so something else is wrong.On Tue, Oct 8, 2013 at 12:09 PM, Jeffrey Jones <jjones@synergos.com> wrote:I believe you want -r for reboot not -h for halt> --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us
On Oct 8, 2013, at 10:04 AM, Steve Graham <skgrahamjr@gmail.com> wrote:
> I want a shell script to reboot my webdna ubuntu vps. I think this should work but it fails:
>
> [shell]echo PASSWORD | sudo shutdown -h now[/shell]
>
> What is wrong???????
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
|
Anyone ever used shell to send commands that require sudo in terminal? Please help if you know how.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn Tue, Oct 8, 2013 at 12:15 PM, Steve Graham <skgrahamjr@gmail.com> wrote:Agreed. I replaced -h with -r and it still fails so something else is wrong.On Tue, Oct 8, 2013 at 12:09 PM, Jeffrey Jones <jjones@synergos.com> wrote:I believe you want -r for reboot not -h for halt> --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us
On Oct 8, 2013, at 10:04 AM, Steve Graham <skgrahamjr@gmail.com> wrote:
> I want a shell script to reboot my webdna ubuntu vps. I think this should work but it fails:
>
> [shell]echo PASSWORD | sudo shutdown -h now[/shell]
>
> What is wrong???????
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...