- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How can I run a UNIX command in Windows2000?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 10:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 10:25 PM
06-18-2003 10:25 PM
Solutionwith the resource kit come some tools like rsh, that is the equivalent of remsh in hpux.
There are also lot of tools that can help you, even aunix emulator that integrates in win.
it is free.
http://www.cygwin.com
You can have the power on unix on window servers, or just simply what you may need, say awk, vi, grep, remsh....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 10:28 PM
06-18-2003 10:28 PM
Re: How can I run a UNIX command in Windows2000?
One word springs to mind - SSH.
Try following this link for details:
http://forums.itrc.hp.com/cm/QuestionAnswer/0,,0x65c868da2286d711abdc0090277a778c,00.html
Ollie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 05:15 PM
06-19-2003 05:15 PM
Re: How can I run a UNIX command in Windows2000?
c:\>rsh 192.168.100.1 -l root echo "DOS" >dos.txt
But I got an error like this:
192.168.100.1: remshd: Login incorrect.
rsh: can't establish connection
So, I wonder if I must setup some entries in .rhosts in HP-UX? Or are there any other solutions? I won't use any 3rd tools at all.
Thanks in advances.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 05:50 PM
06-19-2003 05:50 PM
Re: How can I run a UNIX command in Windows2000?
Have a look at the latest SFU 3.0 it comes with over 1900 ported unix tools.
It even teaches windows to be case sensitive.
so yes you can have 2 files with the same name in one directory.
/dev/fs/C/myfile & /dev/fs/C/Myfile
http://www.microsoft.com.sfu
peace
Donny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 07:26 PM
06-19-2003 07:26 PM
Re: How can I run a UNIX command in Windows2000?
c:\rexec 192.168.100.1 -l root -n ls ~/
Hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 09:35 PM
06-19-2003 09:35 PM
Re: How can I run a UNIX command in Windows2000?
I use rexec instead, it work ok with the user's password,but still fail using rsh!
I setup ~/.rhosts like this:
192.168.100.13 root
In 192.168.100.13(windows) I do:
C:\>rsh 192.168.100.1 -l root -n ls
192.168.100.1: remshd: Login incorrect.
rsh:can't establish connection
How could I ...
Thank everybody gave useful advice!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 09:39 PM
06-19-2003 09:39 PM
Re: How can I run a UNIX command in Windows2000?
I use rexec instead, it work ok with the user's password,but still fail using rsh!
I setup ~/.rhosts like this:
192.168.100.13 root
In 192.168.100.13(windows) I do:
C:\>rsh 192.168.100.1 -l root -n ls
192.168.100.1: remshd: Login incorrect.
rsh:can't establish connection
How could I ...
Thank everybody gave useful advice!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 12:33 AM
06-20-2003 12:33 AM
Re: How can I run a UNIX command in Windows2000?
Regards,
Vitaly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 11:19 PM
06-20-2003 11:19 PM
Re: How can I run a UNIX command in Windows2000?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2003 03:42 AM
06-21-2003 03:42 AM
Re: How can I run a UNIX command in Windows2000?
I though would go for Gygwin as it's free and
includes everythin (even like Apache or ssh running under it).R-commands are sysadmin best
friend and of most problematic.hp-ux Rexec for example doesn't care of console (/etc/securetty) settings and so on.
I'm using cygwin for a ^3 years,same time the Microsoft added unix api support to nt I guess,and was very pleased.However if you go for LDAP-Active Directory integration kinda things (with hp-ux) you'd need MS SFU.
Last one ( :) ) I once saw Brocade's remshd binary for pulling firmware to their switches and played with it a bit.Serves the purpose.
Also tried some commands from WinNT resource kit,gnu-like grep,remsh etc.
And really neat one is from AT&T labs:
http://www.research.att.com/sw/tools/uwin/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2003 06:37 AM
06-21-2003 06:37 AM
Re: How can I run a UNIX command in Windows2000?
Add to your ~/.rhosts +
then try to made rsh,
what you added is ip and user root
but on the windows you not using root user
so add + and check it.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 09:52 PM
07-29-2003 09:52 PM
Re: How can I run a UNIX command in Windows2000?
You should get 20 points!
Once success, I can make a further test for certain user!!!
-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 11:50 PM
07-29-2003 11:50 PM
Re: How can I run a UNIX command in Windows2000?
since this question is coming back, i will add a little note to Caesar hint.
Adding a + in the .rhosts is a big secutiry risk, because any user can login from that host.
After addig the plus,
check with
"who -HRT" or in the syslog, to see how the user presents.
and finally remove the plus !
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 09:20 PM
08-01-2003 09:20 PM
Re: How can I run a UNIX command in Windows2000?
I make a test for certain users now!
I change the .rhosts in HP-UX side (hostux) like this:
hostwin +
From hostwin(Windows2000 OS), I type:
c:\> rsh hostux -l root sleep 10
It runs OK!
But when I type:
c:\>rsh hostux -l zhou sleep 10
I get the error:
remshd: login incorrect.
I have the account root & zhou in both UNIX & Windows2000 side and keep their passwords same!
What's the reason?
-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2003 11:05 AM
08-02-2003 11:05 AM
Re: How can I run a UNIX command in Windows2000?
Create in the home dir of user zhou .rhosts like in the home dir of root you made.
That should help because you didn't allow to
user zhou access without password.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2003 04:33 PM
08-02-2003 04:33 PM
Re: How can I run a UNIX command in Windows2000?
I did in /home/zhou/.rhosts!!!
Between HP-UX & HP-UX, all work fine; but between HP-UX&Windows, only "+" ok!
Amazing...
-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2003 06:45 PM
08-02-2003 06:45 PM
Re: How can I run a UNIX command in Windows2000?
http://download.com.com/3000-2094-6601917.html?tag=lst-0-1
We just used a windows version of sed to change the configuration of our end user telnet clients to connect to our new production server which goes into production on August 4.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2003 08:15 PM
08-10-2003 08:15 PM
Re: How can I run a UNIX command in Windows2000?
I'm actually getting exactly the same problem. Unless I use in hosts.equiv
donald +
I can't do a
remsh mickey -l me ls
from a hpux 11.0 box, or a win2k box, or a linux box.
Cheers
Miles