Click here to Skip to main content
15,892,768 members
Home / Discussions / System Admin
   

System Admin

 
QuestionUpgrading to Win 2000 Server from Win 2000 Pro? Pin
lnong10-Feb-03 10:31
lnong10-Feb-03 10:31 
AnswerRe: Upgrading to Win 2000 Server from Win 2000 Pro? Pin
Brian Olej22-Feb-03 16:45
Brian Olej22-Feb-03 16:45 
General. and .. directories Pin
LittleYellowBird10-Feb-03 3:27
LittleYellowBird10-Feb-03 3:27 
GeneralRe: . and .. directories Pin
Chris Richardson10-Feb-03 11:23
Chris Richardson10-Feb-03 11:23 
GeneralWindows Messenger Spam - Please Help Pin
Kevnar9-Feb-03 16:22
Kevnar9-Feb-03 16:22 
GeneralRe: Windows Messenger Spam - Please Help Pin
Ray Cassick13-Feb-03 11:42
Ray Cassick13-Feb-03 11:42 
GeneralExecuting Windows script from linux Pin
swarupdas7-Feb-03 20:57
swarupdas7-Feb-03 20:57 
GeneralRe: Executing Windows script from linux Pin
Dana Epp19-Feb-03 9:52
Dana Epp19-Feb-03 9:52 
I am sure there are more practical ways to do it, but for achieving it "quickly", the fastest way I can think of without any real code to write would be to automate the process though SSH.

I would really think about what you want to do to accomplish this, as there are SIGNFICANT security implications if you do this wrong. Anyways.... here would be a simple way to do it:

1) Install Cygwin[^] on the Windows 2000 box and ensure you install the OpenSSH daemon.

2) Set up your SSH daemon to run as a service in W2K. There is a good article on how to do that here[^]

3) Set up your SSH keys so you can SSH into the Windows box without the need for a password with the use of SSH public key authentication. You can learn a bit on how to do that by reading here[^].

4) You should now be able to execute the scripts on the W2K box by automating the call. As an example this might work for ya:

ssh user@w2kbox commandtoexecute


CAUTION: Be careful to understand the implications of setting up SSH to your server. Make sure you have clean ACLs and limit the privileges in what the account you are SSHing in can do. If you require administrative access to run the script, consider using the runas command to do this so that you only elevate privileges for the execution of the script, and nothing more.

P.S> I found the runas command to have some issues under bash in cygwin, so you might have to tinker with this for a bit.

Good luck!

- Dana Cool | :cool:
QuestionProblem with WinXP. -> CD drive disappear ? Pin
TUI7-Feb-03 17:39
TUI7-Feb-03 17:39 
GeneralWindows Controls displaying germanic language Pin
Joseph Duarte5-Feb-03 9:54
Joseph Duarte5-Feb-03 9:54 
GeneralRe: Windows Controls displaying germanic language Pin
Roger Wright8-Feb-03 3:26
professionalRoger Wright8-Feb-03 3:26 
GeneralRestore OEM configuration Pin
Aaron Schaefer4-Feb-03 5:03
Aaron Schaefer4-Feb-03 5:03 
GeneralRe: Restore OEM configuration Pin
Michael Dunn4-Feb-03 5:28
sitebuilderMichael Dunn4-Feb-03 5:28 
GeneralWindows Hardware Pin
egon4-Feb-03 4:16
egon4-Feb-03 4:16 
GeneralRe: Windows Hardware Pin
Michael Dunn4-Feb-03 5:31
sitebuilderMichael Dunn4-Feb-03 5:31 
GeneralWrong character set displayed in MS Common Controls Pin
Neville Franks3-Feb-03 9:53
Neville Franks3-Feb-03 9:53 
GeneralApplication losing a CPU while running Pin
jphillips3-Feb-03 4:48
jphillips3-Feb-03 4:48 
GeneralRe: Application losing a CPU while running Pin
Ray Cassick4-Feb-03 14:53
Ray Cassick4-Feb-03 14:53 
GeneralRe: Application losing a CPU while running Pin
jphillips5-Feb-03 2:23
jphillips5-Feb-03 2:23 
QuestionWhat is in _RESTORE directory that Windows creating!? Pin
Rickard Andersson2030-Jan-03 10:20
Rickard Andersson2030-Jan-03 10:20 
AnswerRe: What is in _RESTORE directory that Windows creating!? Pin
Michael Dunn31-Jan-03 16:24
sitebuilderMichael Dunn31-Jan-03 16:24 
GeneralRe: What is in _RESTORE directory that Windows creating!? Pin
Rickard Andersson2013-Feb-03 0:43
Rickard Andersson2013-Feb-03 0:43 
GeneralWindows 98 SE and CD Freezes Pin
Michael Martin27-Jan-03 17:12
professionalMichael Martin27-Jan-03 17:12 
GeneralNetlogon Error 5774 in Win2K Server Pin
Roger Wright26-Jan-03 19:50
professionalRoger Wright26-Jan-03 19:50 
GeneralInternet explorer issue. Pin
73Zeppelin26-Jan-03 18:18
73Zeppelin26-Jan-03 18:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.