View previous topic :: View next topic |
Author |
Message |
be7a n00b

Joined: 02 Sep 2004 Posts: 9
|
Posted: Sun Aug 14, 2005 5:51 pm Post subject: Down a Novell Netware fileserver remotely |
|
|
i got a netware 6.0 fileserver and want to shut it down with my linux-box in case of power-loss.
my ups reports the linux-server when the power is offline and the linux server has to stop the other computers. how to shutdown my novell-server? |
|
Back to top |
|
 |
theneb n00b

Joined: 07 Jan 2005 Posts: 38 Location: UK
|
Posted: Sun Aug 14, 2005 6:17 pm Post subject: |
|
|
Make an small script to login and shut em down. |
|
Back to top |
|
 |
libtest n00b

Joined: 17 Aug 2005 Posts: 1
|
Posted: Wed Aug 17, 2005 8:43 pm Post subject: |
|
|
You can check this:
http://forge.novell.com/modules/xfmod/project/?openssh
It should work Netware 6.0, although it is not officially supported. You can try something like:
ssh netware_server 'load shutdown.ncf'
shutdown.ncf should be:
clear station all
down
Never tried that, just an idea. |
|
Back to top |
|
 |
be7a n00b

Joined: 02 Sep 2004 Posts: 9
|
Posted: Sun Aug 21, 2005 3:14 pm Post subject: |
|
|
i did what you told me libtest but there is the same prob:
i have to use password authentication (openssh for novell netware doesnt support key-auth).
my script is:
Code: | ssh admin@192.168.0.2 <<**
mypw
down
** |
but it doesnt work because the server promts for the password.
i thought it was ok to send the password within the script ("mypw") but it doesnt work ...
i also tryed to do:
Code: | ssh -f admin@192.168.0.2 down << mypw |
i dont know how to automatically send my pw when the server promts for it :/ |
|
Back to top |
|
 |
|