UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old February 13th, 2004, 11:23 PM
manojkumar manojkumar is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 1 manojkumar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question rsh command

I am trying to execute a command in the remote machine using rsh. But it is giving the following error

Command:

rsh -l sombe ssappeai002 /opt/telstra/sombe/tibco/im/bin/imctl status

Error:

"/opt/telstra/sombe/tibco/im/bin/imctl.4[326]: whoami: not found
This script must be run as sombe. Aborting"

Eventhough i am logging as sombe it is giving this error. When i execute other commands like pwd, cat is working fine..

please help me...

Regards,
Manoj

Reply With Quote
  #2  
Old February 14th, 2004, 05:28 AM
druuna druuna is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 137 druuna User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 37 sec
Reputation Power: 0
Some interactive programs (like vi) cannot works with rsh.
Don't have a clue what imctl does, but it could be interactive (see also man rsh).

Hope this helps.

Reply With Quote
  #3  
Old February 14th, 2004, 02:32 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,296 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 5 m 42 sec
Reputation Power: 101
Send a message via ICQ to christo Send a message via Yahoo to christo
Quote:
Originally Posted by manojkumar
rsh -l sombe ssappeai002 /opt/telstra/sombe/tibco/im/bin/imctl status

Error:

"/opt/telstra/sombe/tibco/im/bin/imctl.4[326]: whoami: not found
This script must be run as sombe. Aborting"


rsh is happy, but it's imctl (whatever that is) which is complaining, because it doesn't recognise you as user 'sombe' - so what happens if you run the rsh -l without giving a password, but then provide the password when you're asked for it?

christo

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > rsh command


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway