Re: [WebDNA] Anyone knows how to shell reboot?

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110801
interpreted = N
texte = --001a11c2672abd2abc04e8466ef2 Content-Type: text/plain; charset=ISO-8859-1 Anyone ever used shell to send commands that require sudo in terminal? Please help if you know how. On Tue, Oct 8, 2013 at 12:15 PM, Steve Graham 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 wrote: > >> I believe you want -r for reboot not -h for halt >> >> On Oct 8, 2013, at 10:04 AM, Steve Graham 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 . To >> unsubscribe, E-mail to: archives: >> http://mail.webdna.us/list/talk@webdna.us Bug Reporting: >> support@webdna.us >> >> --------------------------------------------------------- >> 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 >> > > --001a11c2672abd2abc04e8466ef2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Anyone ever used shell to send commands that require sudo = in terminal?=A0 Please help if you know how.


On Tue, Oct 8, 2013 at 12:15 PM, S= teve Graham <skgrahamjr@gmail.com> wrote:
Agreed.=A0 I replaced -h wi= th -r and it still fails so something else is wrong.


On Tue, Oct 8, 2013 at 12:09 PM, Jeffrey Jones <<= a href=3D"mailto:jjones@synergos.com" target=3D"_blank">jjones@synergos.com= > wrote:
I believe you want -r for reboot not -h for = halt

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 sho= uld 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 = . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.= us Bug Reporting: support@webdna.us

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <ta= lk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: suppo= rt@webdna.us


--001a11c2672abd2abc04e8466ef2-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Anyone knows how to shell reboot? (Gerald Bossert-Stumvoll 2013)
  2. Re: [WebDNA] Anyone knows how to shell reboot? (Jim Lanford 2013)
  3. Re: [WebDNA] Anyone knows how to shell reboot? (Robert Minor 2013)
  4. Re: [WebDNA] Anyone knows how to shell reboot? (WebDNA 2013)
  5. Re: [WebDNA] Anyone knows how to shell reboot? (Steve Graham 2013)
  6. Re: [WebDNA] Anyone knows how to shell reboot? (Steve Graham 2013)
  7. Re: [WebDNA] Anyone knows how to shell reboot? (Jeffrey Jones 2013)
  8. [WebDNA] Anyone knows how to shell reboot? (Steve Graham 2013)
--001a11c2672abd2abc04e8466ef2 Content-Type: text/plain; charset=ISO-8859-1 Anyone ever used shell to send commands that require sudo in terminal? Please help if you know how. On Tue, Oct 8, 2013 at 12:15 PM, Steve Graham 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 wrote: > >> I believe you want -r for reboot not -h for halt >> >> On Oct 8, 2013, at 10:04 AM, Steve Graham 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 . To >> unsubscribe, E-mail to: archives: >> http://mail.webdna.us/list/talk@webdna.us Bug Reporting: >> support@webdna.us >> >> --------------------------------------------------------- >> 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 >> > > --001a11c2672abd2abc04e8466ef2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Anyone ever used shell to send commands that require sudo = in terminal?=A0 Please help if you know how.


On Tue, Oct 8, 2013 at 12:15 PM, S= teve Graham <skgrahamjr@gmail.com> wrote:
Agreed.=A0 I replaced -h wi= th -r and it still fails so something else is wrong.


On Tue, Oct 8, 2013 at 12:09 PM, Jeffrey Jones <<= a href=3D"mailto:jjones@synergos.com" target=3D"_blank">jjones@synergos.com= > wrote:
I believe you want -r for reboot not -h for = halt

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 sho= uld 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 = . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.= us Bug Reporting: support@webdna.us

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <ta= lk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: suppo= rt@webdna.us


--001a11c2672abd2abc04e8466ef2-- Steve Graham

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

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...

Related Readings:

NT version and O'reily's WebSite (1997) Greeting Card System (2000) SQL in SEARCH breaks FOUNDITEMS (1999) Email within tmpl ? (1997) Missing Cart Information (2003) WebCatalog Plug-in for Webstar. (1997) [CART] inside a [LOOP] (1997) Umm...about those log files? (Off Topic) (1997) Web Catalog 2 demo (1997) Using Encrypt/Decrypt (2003) Summing fields (1997) Sorting by date (1997) WebCatalog2 Feature Feedback (1996) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) [include ...] behavior (1997) emailer on Windows Beta 18 (1997) Physical Security for WebCatalog Directories (1997) Robert Minor duplicate mail (1997) Mozilla/4. and Browser Info.txt (1997) WebCat2b13MacPlugIn - [include] (1997)