Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Executing commands remotely to NT from Linux

Posted on 2004-03-30
6
Medium Priority
?
671 Views
Last Modified: 2010-04-13
I want to execute some commands from a remote Linux system to an NT system. I know there is a way to do this from NT to NT (but I can't remember the Microsoft name for this). But I need to do it from a Linux system. Any ideas?
0
Comment
Question by:ESQuicksall
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 67

Expert Comment

by:sirbounty
ID: 10716616
Rexec
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 10716628
http://www.denicomp.com/readmore.htm
>>
What is REXEC?
rexec stands for remote exec and like rsh, allows you to execute non-interactive programs on another system.  The difference between rsh and rexec is that rexec requires you to specify a valid password for the other system and rsh does not.

The other system must be running a remote exec daemon (rexecd) to handle the incoming rexec command.  Most Unix and Linux systems include a remote exec daemon, but Windows does not.  Use Denicomp's Winsock REXECD/95 or Winsock REXECD/NT software if you want to rexec into a Windows system.
<<
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 10716641
But, I suppose RSH may be what you're after...depends on what you're wanting to do...
From the same link:
>>
What is RSH?
rsh stands for remote shell and allows you to execute non-interactive programs on another system. On some systems, this command is sometimes called remsh or rcmd.  It executes the command on the other system and returns the program's standard output and standard error output.

The other system must be running a remote shell daemon (rshd) to handle the incoming rsh command.  Unix and Linux systems include a remote shell daemon, but Windows does not.  Use Denicomp's Winsock RSHD/95 or Winsock RSHD/NT software if you want to rsh to a Windows system.

The rsh command does not require you to enter a password for the other system. Trust is established by defining host equivalency.
<< 
0
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

 

Author Comment

by:ESQuicksall
ID: 10716687
Microsoft says this "An RSH service called Rshsvc.exe is provided with the Windows 2000 Server Resource Kit. Used without parameters, rsh displays help."

Does this mean I can use REXEC on Linux and Window's RSH to execute programs on Windows from Linux?

Eddy
0
 

Author Comment

by:ESQuicksall
ID: 10716759
I mean, use REXEC on Linux to submit commands to Window's Rshsvc.exe?
0
 
LVL 67

Accepted Solution

by:
sirbounty earned 200 total points
ID: 10716844
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question