* Execute command via samba on windows machine?
@ 2006-03-21 23:48 Jens Knoell
2006-03-21 19:16 ` chuck gelm
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Jens Knoell @ 2006-03-21 23:48 UTC (permalink / raw)
To: linux-admin
I'm trying to script a remote install routine from a linux box. What it's
supposed to do is this:
- Copy file(s) over to a windows 2k/XP
target
- Execute installation commands via windows RPC
The
latter is giving me a headache. I can't find anything in the Samba
documentation or on the web on how to do that. Under windows no problem -
but how do I do that in linux?
Heeeelp! Please? :)
Jens
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Execute command via samba on windows machine?
2006-03-21 23:48 Execute command via samba on windows machine? Jens Knoell
@ 2006-03-21 19:16 ` chuck gelm
2006-03-22 0:43 ` Matt Richards
2006-03-22 4:36 ` Joakim Ryden
2 siblings, 0 replies; 5+ messages in thread
From: chuck gelm @ 2006-03-21 19:16 UTC (permalink / raw)
To: Jens Knoell; +Cc: linux-admin
Jens Knoell wrote:
>I'm trying to script a remote install routine from a linux box. What it's
>supposed to do is this:
>- Copy file(s) over to a windows 2k/XP
>target
>- Execute installation commands via windows RPC
>
>The
>latter is giving me a headache. I can't find anything in the Samba
>documentation or on the web on how to do that. Under windows no problem -
>but how do I do that in linux?
>
>Heeeelp! Please? :)
>
>Jens
>
>
Hi, Jens:
I don't know how to do this with SAMBA and I don't know what Windows
RPC is either.
However, you can control another PC remotely with a Java enabled browser and
http://www.realvnc.com/
HTH, Chuck
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Execute command via samba on windows machine?
2006-03-21 23:48 Execute command via samba on windows machine? Jens Knoell
2006-03-21 19:16 ` chuck gelm
@ 2006-03-22 0:43 ` Matt Richards
2006-03-22 0:50 ` Adrian C.
2006-03-22 4:36 ` Joakim Ryden
2 siblings, 1 reply; 5+ messages in thread
From: Matt Richards @ 2006-03-22 0:43 UTC (permalink / raw)
To: Jens Knoell; +Cc: linux-admin
I think this message might be better of on the samba@lists.samba.org
mailing list.
I have never herd of samba being able to execute commands on remote
windows clients but i do know that executing commands remotely is not
limited to the server so there might be some 3rd party applications out
there n if there isn't it might be a nice idea to make one.
There are some other alternatives e.g. run a ssh server on the clients and
get the ssh server to execute commands or make the clients look for a txt
file on a servers share and execute the content if it exists, however,
this would be a lot of messing about and maybe something you don’t want to
do or have time for.
Matt.
>
>
> I'm trying to script a remote install routine from a linux box. What it's
> supposed to do is this:
> - Copy file(s) over to a windows 2k/XP
> target
> - Execute installation commands via windows RPC
>
> The
> latter is giving me a headache. I can't find anything in the Samba
> documentation or on the web on how to do that. Under windows no problem -
> but how do I do that in linux?
>
> Heeeelp! Please? :)
>
> Jens
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Execute command via samba on windows machine?
2006-03-22 0:43 ` Matt Richards
@ 2006-03-22 0:50 ` Adrian C.
0 siblings, 0 replies; 5+ messages in thread
From: Adrian C. @ 2006-03-22 0:50 UTC (permalink / raw)
To: matt; +Cc: linux-admin
# windows client logon
logon drive = L:
logon script = scripts/logon.bat
logon path = \\foghorn\profile\%U
There is ^this thing, but again this only works at logon.
--Adrian.
> >
> >
> > I'm trying to script a remote install routine from a linux box. What it's
> > supposed to do is this:
> > - Copy file(s) over to a windows 2k/XP
> > target
> > - Execute installation commands via windows RPC
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Execute command via samba on windows machine?
2006-03-21 23:48 Execute command via samba on windows machine? Jens Knoell
2006-03-21 19:16 ` chuck gelm
2006-03-22 0:43 ` Matt Richards
@ 2006-03-22 4:36 ` Joakim Ryden
2 siblings, 0 replies; 5+ messages in thread
From: Joakim Ryden @ 2006-03-22 4:36 UTC (permalink / raw)
To: Jens Knoell; +Cc: linux-admin
bash# net rpc <command> # to run RPC commands
--Jo
Jens Knoell wrote:
>
> I'm trying to script a remote install routine from a linux box. What it's
> supposed to do is this:
> - Copy file(s) over to a windows 2k/XP
> target
> - Execute installation commands via windows RPC
>
> The
> latter is giving me a headache. I can't find anything in the Samba
> documentation or on the web on how to do that. Under windows no problem -
> but how do I do that in linux?
>
> Heeeelp! Please? :)
>
> Jens
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-03-22 4:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-21 23:48 Execute command via samba on windows machine? Jens Knoell
2006-03-21 19:16 ` chuck gelm
2006-03-22 0:43 ` Matt Richards
2006-03-22 0:50 ` Adrian C.
2006-03-22 4:36 ` Joakim Ryden
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).