how to setup rshfor HPUX


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems HP-UX how to setup rshfor HPUX
# 8  
After configuring these two files, it wont prompt you for the password.
# 9  
have you tried configured? can i see some sample? at least i have an idea
# 10  
It is simple configuration. Suppose you have two hosts, hostA and hostB.

From hostA, you want to do remsh on hostB. Then in hostB, create a file /etc/hosts.equiv and put hostA in hosts.equiv. But this user equivalency will work if the user with which you are logged in on hostA exists on hostB with same mnemonic name.

Note: If you are logged in as root on hostA then /etc/hosts.equiv will not work. Instead create .rhosts in the root directory of root on hostB.

Hope this helps.
# 11  
Ok, i already did what you told me. Below are the logs while trying to remsh to my aix box.

rshd: 0826-826 The host name for your address is not known.

and in the solaris.
permission denied

note: i can directly telnet using my root account to any server.
# 12  
Yoh,
in /.rhosts it should be root host1, and also to /etc/hosts.equiv.

it will make a difference Smilie

$hostname
hosts2
$ cat .rhosts
root host1
$cat /etc/hosts.equiv
root hosts1

#hostname
hosts1
#remsh hosts2 -l root uptime
09:53AM up 89 days, 1:04, 2 users, load average: 0.07, 0.09, 0.10

Thanks Smilie it will work dude
# 13  
thanks it works for me
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #43
Difficulty: Easy
A serial interface transmits two bits of information at the same time, both a one and a zero.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Hpux

Hello All Why is hpux is not much spoken in the unix/Linux platform. what is the disadvantes in HPUX Thanks, VJ (1 Reply)
Discussion started by: Vijaykannan T
1 Replies

2. HP-UX

pwage-hpux-T for Trusted HPUX servers

I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email. original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies

3. Shell Programming and Scripting

hpux vi

Hello. I cant figure out how can i move entire row up , so it pasted on the one above at the end , or to do that for one character. In notepads,word, or some other text editors we would do that with backspace button. Example. Content of my text file is this : I am trying to do that. And... (2 Replies)
Discussion started by: tonijel
2 Replies

4. Shell Programming and Scripting

Need Script to Use CPUs on a HPUX server to simulate Workload Manager on HPUX.

I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies

5. AIX

NIM server setup on etherchannel setup environment

I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it? I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame. Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies

6. HP-UX

CCOPTS in HPUX

Hi i am using a mkefile to build my exe which Using the POSIX Shell. CCOPTS="-Ae -O -IH.LIBRARY -D_POSIX_C -D_SOCKET_C" it is not building with this CCOPTS can anybody help me regarding the whether CCOPTS given above is correct or not Can you tell more in CCOPTS Many thanks Naren (1 Reply)
Discussion started by: naren_chella
1 Replies

7. UNIX for Dummies Questions & Answers

New to HPUX

Hi, I am a SAP Basis admin recentely been asked to administer a HPUX server. Could someone recommend some good study material to learn with the Sap prespective. -carry (1 Reply)
Discussion started by: carryclare
1 Replies

8. HP-UX

HPUX any help

:( i got couple of weeks ago a : HP Visualize workstation , model B100. everithing is ok in the box the only problem is that i 'am not familiar with this operational sys, and i try to uninstall and see if i can get on it windows net server 64 bit. or any other 64 bit operational sys that i'll... (1 Reply)
Discussion started by: newbird
1 Replies

9. Programming

libsigc++ on hpux 11

Hello all, Did anyone manage to compile and link successfully libsigc++ needed by gtkmm on HPUX (better using aCC because it's much more optimized for hpux but i have gcc there too)? I get some strange mistakes. All kinds of files no found, gcc complains that he can't use -c with -o like in gcc... (0 Replies)
Discussion started by: vova
0 Replies

10. UNIX for Dummies Questions & Answers

HPUX 10.20 et HPUX 11

Is there any problems of binaries compatibility between HPUX 10.20 et 11 ? (2 Replies)
Discussion started by: Olivier
2 Replies

Featured Tech Videos