Re: [opensuse] How to remotely shut a windows box down from Linux

2007-10-22 Thread Robert Cunningham
Rikard Johnels wrote:

 Swedish XP... Administratör..

 Next problem:

 :~ net rpc shutdown -S 192.168.1.167 -U Administratör
 Password:

 Shutdown of remote machine failed

 result was: WERR_ACCESS_DENIED


   

I got this far as well, then,  I tried changing name of user
in windows services RPC  to Administrator  and  it's password.
I then rebooted  the XP machine and  got the same  result.
For me this would be great to get working I could set a cron
job on my Linux server to shutdown my 40 lab computers at the
end of the day

-- 
In theory, there is no difference between theory and practice; In practice, 
there is

Robert Cunningham
Sr. Physics Laboratory Coordinator /RSO


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] How to remotely shut a windows box down from Linux

2007-10-21 Thread Rikard Johnels
On Saturday 20 October 2007 22:41, Herbert Graeber wrote:
 Am Freitag, 19. Oktober 2007 19:06:42 schrieb Rikard Johnels:
  Is there any way to remotely shut a standard windows box down from a
  linux system?

 net rpc shutdown -S serve-name -U Administrator

  I have a few boxes i need to kick users from and shutdown (or reboot)
  every now and then. And its the only Windows boxes on the network. My
  system is a SuSE Linux, and i dont have win4lin, vmware or any other
  emulator running. I hope i can accomplish the task without having to
  install it too. any pointers/ideas.

 You need the samba-client package to do this.

  [...]

 Cheers
 Herbert

I probably have something wrong:

[EMAIL PROTECTED]:~ net rpc shell -S 192.168.1.167 -U Administrator
Password:
Could not connect to server 192.168.1.167
The username or password was not correct.
Connection failed: NT_STATUS_LOGON_FAILURE
Could not open connection

Linux or Windows the problematic point?


-- 
         /Rikard

-
email   : [EMAIL PROTECTED]
web     : http://www.rikjoh.com
mob:: +46 (0)763 19 76 25
 Public PGP fingerprint 
 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78  46 1C EE 56 


pgpckL74M3MAt.pgp
Description: PGP signature


Re: [opensuse] How to remotely shut a windows box down from Linux

2007-10-21 Thread Patrick Shanahan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

* Rikard Johnels [EMAIL PROTECTED] [10-21-07 12:10]:
 [EMAIL PROTECTED]:~ net rpc shell -S 192.168.1.167 -U Administrator
 Password:
 Could not connect to server 192.168.1.167
 The username or password was not correct.
 Connection failed: NT_STATUS_LOGON_FAILURE
 Could not open connection
 
 Linux or Windows the problematic point?

is Administrator the name of the highest-level account, ie: on my
wife's hp box it is HP_Administrator?


- -- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn4472 (GNU/Linux)

iD8DBQFHG3tvClSjbQz1U5oRAp8jAKCZwJTBvn6wbznVoU8eaIwkMFEkpQCgq5fX
+r4h0WAQ5xwnXD6saaJwfOs=
=SetS
-END PGP SIGNATURE-
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] How to remotely shut a windows box down from Linux

2007-10-21 Thread Herbert Graeber
Am Sonntag, 21. Oktober 2007 18:16:48 schrieb Patrick Shanahan:
 * Rikard Johnels [EMAIL PROTECTED] [10-21-07 12:10]:
  [EMAIL PROTECTED]:~ net rpc shell -S 192.168.1.167 -U Administrator
  Password:
  Could not connect to server 192.168.1.167
  The username or password was not correct.
  Connection failed: NT_STATUS_LOGON_FAILURE
  Could not open connection
 
  Linux or Windows the problematic point?

 is Administrator the name of the highest-level account, ie: on my
 wife's hp box it is HP_Administrator?

It has to be an user that has the right to shutdown the machine remotely. 
Usually thats the user Administrator, but it may you have renamed it, or if 
you have a domain you ha to add the domain to the command as well.

Herbert
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] How to remotely shut a windows box down from Linux

2007-10-21 Thread Herbert Graeber
Am Sonntag, 21. Oktober 2007 18:09:46 schrieb Rikard Johnels:
 On Saturday 20 October 2007 22:41, Herbert Graeber wrote:
  Am Freitag, 19. Oktober 2007 19:06:42 schrieb Rikard Johnels:
   Is there any way to remotely shut a standard windows box down from a
   linux system?
 
  net rpc shutdown -S serve-name -U Administrator
 
   I have a few boxes i need to kick users from and shutdown (or reboot)
   every now and then. And its the only Windows boxes on the network. My
   system is a SuSE Linux, and i dont have win4lin, vmware or any other
   emulator running. I hope i can accomplish the task without having to
   install it too. any pointers/ideas.
 
  You need the samba-client package to do this.
 
   [...]
 
  Cheers
  Herbert

 I probably have something wrong:

 [EMAIL PROTECTED]:~ net rpc shell -S 192.168.1.167 -U Administrator
 Password:
 Could not connect to server 192.168.1.167
 The username or password was not correct.
 Connection failed: NT_STATUS_LOGON_FAILURE
 Could not open connection

 Linux or Windows the problematic point?

Mabey, if you want to use the ip number you have to use -I instead of -S.

Herbert

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] How to remotely shut a windows box down from Linux

2007-10-21 Thread Rikard Johnels
On Sunday 21 October 2007 18:09, Rikard Johnels wrote:
 On Saturday 20 October 2007 22:41, Herbert Graeber wrote:
  Am Freitag, 19. Oktober 2007 19:06:42 schrieb Rikard Johnels:
   Is there any way to remotely shut a standard windows box down from a
   linux system?
 
  net rpc shutdown -S serve-name -U Administrator
 
   I have a few boxes i need to kick users from and shutdown (or reboot)
   every now and then. And its the only Windows boxes on the network. My
   system is a SuSE Linux, and i dont have win4lin, vmware or any other
   emulator running. I hope i can accomplish the task without having to
   install it too. any pointers/ideas.
 
  You need the samba-client package to do this.
 
   [...]
 
  Cheers
  Herbert

 I probably have something wrong:

 [EMAIL PROTECTED]:~ net rpc shell -S 192.168.1.167 -U Administrator
 Password:
 Could not connect to server 192.168.1.167
 The username or password was not correct.
 Connection failed: NT_STATUS_LOGON_FAILURE
 Could not open connection

 Linux or Windows the problematic point?

Swedish XP... Administratör..

Next problem:

:~ net rpc shutdown -S 192.168.1.167 -U Administratör
Password:

Shutdown of remote machine failed

result was: WERR_ACCESS_DENIED


-- 
         /Rikard

-
email   : [EMAIL PROTECTED]
web     : http://www.rikjoh.com
mob:: +46 (0)763 19 76 25
 Public PGP fingerprint 
 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78  46 1C EE 56 


pgpL68HzwyBsw.pgp
Description: PGP signature


Re: [opensuse] How to remotely shut a windows box down from Linux

2007-10-20 Thread Herbert Graeber
Am Freitag, 19. Oktober 2007 19:06:42 schrieb Rikard Johnels:
 Is there any way to remotely shut a standard windows box down from a linux
 system?

net rpc shutdown -S serve-name -U Administrator

 I have a few boxes i need to kick users from and shutdown (or reboot) every
 now and then. And its the only Windows boxes on the network. My system is a
 SuSE Linux, and i dont have win4lin, vmware or any other emulator running.
 I hope i can accomplish the task without having to install it too.
 any pointers/ideas.

You need the samba-client package to do this.

 [...]

Cheers
Herbert
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] How to remotely shut a windows box down from Linux

2007-10-19 Thread Dimych
Is there any way to remotely shut a standard windows box down from a linux 
system?

There is couple of solutions I could come up with:
- the simple one - use RDP to connect to your windows machine, send  the 
 Ctrl+Alt+Del sequence there and select Shutdown in the popped up  dialog.
- the flexible one - install OpenSSH on your windows machine, ssh  there 
 and invoke shutdown -r -f -m \\[computername] command

Actually I've missed the most obvious one :) - if you have Samba installed and 
configured you can use rpcclient (do 'man rpcclient' to get more info)


Regards,
Dmitry

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] How to remotely shut a windows box down from Linux

2007-10-19 Thread Donovan R. Palmer
Poweroff? http://users.pandora.be/jbosman/applications.html It allows you
to telnet in and run commands:

You can remotely control poweroff by starting it as a service and setting
the #65533;Allow remote control#65533; option. You can control it by
using poweroff itself and selecting a remote computer, or you can control
it by using telnet to the port where poweroff listens on (default 3210).
For example telnet computer 3210. You#65533;ll see a welcome message like
this:

201 Welcome to Poweroff 3.0 created by Jorgen Bosman

 Is there any way to remotely shut a standard windows box down from a linux
 system?
 I have a few boxes i need to kick users from and shutdown (or reboot)
 every
 now and then. And its the only Windows boxes on the network. My system is
 a
 SuSE Linux, and i dont have win4lin, vmware or any other emulator running.
 I hope i can accomplish the task without having to install it too.
 any pointers/ideas.
 None of my google searches gives me any clues unless i am on a winbox
 myself.

 --
  /Rikard

 -
 email   : [EMAIL PROTECTED]
 web : http://www.rikjoh.com
 mob:  : +46 (0)763 19 76 25
  Public PGP fingerprint
 
  15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78  46 1C EE 56 



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] How to remotely shut a windows box down from Linux

2007-10-19 Thread Dimych
Is there any way to remotely shut a standard windows box down from a
 linux 
system?

There is couple of solutions I could come up with:
- the simple one - use RDP to connect to your windows machine, send the 
Ctrl+Alt+Del sequence there and select Shutdown in the popped up dialog.
- the flexible one - install OpenSSH on your windows machine, ssh there and 
invoke shutdown -r -f -m \\[computername] command

Hope this helps,
Dmitry

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse] How to remotely shut a windows box down from Linux

2007-10-19 Thread Rikard Johnels
Is there any way to remotely shut a standard windows box down from a linux 
system?
I have a few boxes i need to kick users from and shutdown (or reboot) every 
now and then. And its the only Windows boxes on the network. My system is a 
SuSE Linux, and i dont have win4lin, vmware or any other emulator running.
I hope i can accomplish the task without having to install it too.
any pointers/ideas.
None of my google searches gives me any clues unless i am on a winbox myself.

-- 
         /Rikard

-
email   : [EMAIL PROTECTED]
web     : http://www.rikjoh.com
mob:: +46 (0)763 19 76 25
 Public PGP fingerprint 
 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78  46 1C EE 56 


pgp7A2jRKMRNI.pgp
Description: PGP signature


Re: [opensuse] How to remotely shut a windows box down from Linux

2007-10-19 Thread James Knott

Rikard Johnels wrote:
Is there any way to remotely shut a standard windows box down from a linux 
system?
I have a few boxes i need to kick users from and shutdown (or reboot) every 
now and then. And its the only Windows boxes on the network. My system is a 
SuSE Linux, and i dont have win4lin, vmware or any other emulator running.

I hope i can accomplish the task without having to install it too.
any pointers/ideas.
None of my google searches gives me any clues unless i am on a winbox myself.

  
I was going to suggest the shutdown command, but then I realized you'd 
have to be able to telnet or ssh into the system.  What about something 
like remote desktop?





--
Use OpenOffice.org http://www.openoffice.org
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]