how to setup rshfor HPUX


 
Thread Tools Search this Thread
Operating Systems HP-UX how to setup rshfor HPUX
# 8  
Old 03-18-2008
After configuring these two files, it wont prompt you for the password.
# 9  
Old 03-18-2008
have you tried configured? can i see some sample? at least i have an idea
# 10  
Old 03-18-2008
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  
Old 03-18-2008
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  
Old 03-18-2008
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  
Old 03-23-2008
thanks it works for me
Login or Register to Ask a Question

Previous Thread | Next Thread

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. HP-UX

remsh + HPUX

Hi, I am trying to remsh from a HPUX to another unix server What is happening is I cant run commands on the other server ie I can remsh <remoteserver> -l <remotelogin> but I cant remsh <remoteserver> -l <remotelogin> -n pwd getting error message rshd: 0826-826 The host name for... (3 Replies)
Discussion started by: belfastbelle
3 Replies

6. 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

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. HP-UX

HPUX Security help

Hi everyone! I need your help. When i run ipcs -m -a for display shared memory status i see an entry with key 0xdeadbeef: IPC status from /dev/kmem as of Tue Feb 3 15:55:14 2004 T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME ... (3 Replies)
Discussion started by: andryk
3 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
Login or Register to Ask a Question