Re: Remotely shutdown multiple PCs via script

2011-12-09 Thread suvayu ali
On Fri, Dec 9, 2011 at 23:06, Doug Kuvaas wrote: > I have actually tried ssh -t user@host "nohup /path/to/shutdownscript &" and > it seemed to be doing the same thingwaiting for the shutdownscript to > finish before moving to the next line.    I was expecting the nohup > & to immediately retu

Re: Remotely shutdown multiple PCs via script

2011-12-09 Thread g
On 12/09/2011 06:47 PM, Doug Kuvaas wrote: > Here is what I am trying to do: > >>From a central server running HP-UX, I would like to shutdown multiple > Fedora PCs using a script. This in itself is not a problem. I have an > account on the machines added to the sudoers file to allow them to shu

Re: Remotely shutdown multiple PCs via script

2011-12-09 Thread Doug Kuvaas
On Fri, Dec 9, 2011 at 2:02 PM, Alan Stern wrote: > On Fri, 9 Dec 2011, Frank Elsner wrote: > > > > On Fri, 9 Dec 2011 14:16:00 -0500 (EST) Alan Stern wrote: > > > On Fri, 9 Dec 2011, Doug Kuvaas wrote: > > > > > > > Here is what I am trying to do: > > > > > > > > >From a central server running HP

Re: Remotely shutdown multiple PCs via script

2011-12-09 Thread Alan Stern
On Fri, 9 Dec 2011, Frank Elsner wrote: > > On Fri, 9 Dec 2011 14:16:00 -0500 (EST) Alan Stern wrote: > > On Fri, 9 Dec 2011, Doug Kuvaas wrote: > > > > > Here is what I am trying to do: > > > > > > >From a central server running HP-UX, I would like to shutdown multiple > > > Fedora PCs using a

Re: Remotely shutdown multiple PCs via script

2011-12-09 Thread Frank Elsner
On Fri, 9 Dec 2011 14:16:00 -0500 (EST) Alan Stern wrote: > On Fri, 9 Dec 2011, Doug Kuvaas wrote: > > > Here is what I am trying to do: > > > > >From a central server running HP-UX, I would like to shutdown multiple > > Fedora PCs using a script. This in itself is not a problem. I have an > >

Re: Remotely shutdown multiple PCs via script

2011-12-09 Thread Alan Stern
On Fri, 9 Dec 2011, Doug Kuvaas wrote: > Here is what I am trying to do: > > >From a central server running HP-UX, I would like to shutdown multiple > Fedora PCs using a script. This in itself is not a problem. I have an > account on the machines added to the sudoers file to allow them to shut

Re: Remotely shutdown multiple PCs via script

2011-12-09 Thread Richard Shaw
Perhaps try using sleep in the script in combination with "disown" so the shutdown process is disconnected from the ssh session before it dies? Richard -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listin