Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rlogin problem

Status
Not open for further replies.

biondo68

Technical User
Jul 4, 2003
103
IT
hi all,

i have risc 6000 model F50 oslevel 4.2.1.0

i have problem with rlogin:

POMEZIA_2-ROOT /etc> rlogin pomezia -l root
rcmd: socket: Permission denied
POMEZIA_2-ROOT /etc>

why ?

thanks

biondo68
 
Ciao biondo,
probabilmente sull'altro host non sei grantato, dovrebbe esserci un file ".rhosts" sotto la home dir dell'altro host dove deve esserci un'entry con "POMEZIA_2" e la stessa entry dev'essere anche nel file /etc/hosts
 
Ciao sbix,

grazie per la risposta , ma il problema deve essere diverso. Gli altri server Risc funzionano tutti correttamente , l' unico che mi da problemi e' questo ..
le configurazioni dell' host e .rhosts e del hosts.equiv sono corrette..
Hai altre idee ?

ciao
grazie

 
When I use rlogin I have to setup the /.rhosts file with the hostname of where I am coming from with root privledges to allow root access. I also setup a /etc/hosts.equiv file that contains my hostnames as well. I am not sure where you are running the rlogin from from the information you have told me. I go between AIX Box's useing rlogin. I would look at these 2 files maybe for some help.
 
biondo,
dal sistema SUL QUALE vorresti loggarti con rlogin prova a fare un ping verso il sistema DAL QUALE vorresti eseguire rlogin.
Il meccanismo di autenticazione e' tutto li', il tuo sistema dev'essere noto nel sistema sul quale ti vuoi loggare nei file /etc/hosts e $HOME/.rhosts (dove $HOME è la home directory dell'utente sul sistema remoto sul quale ti vuoi loggare)
 
Pero' il messaggio non e' relativo alla configurazione, sembra come se non riuscisse ad accedere al file .rhosts sul sistema remoto
 
hi sbix and deak

thanks for your help

biondo68
 
Biondo68

I use to get this kind of problem when I tried to rlogin by a normal user. Howerver rlogin with root user would work fine. I check the Permission of rlogin command and found it
creating problem . The owner of rlogin was root and only root was able to rlogin to another server, however normal user failed. I then setup setuid to the rlogin by
chmod 4755 rlogin , with setuid the other users were
also able to run rlogin. suggest you to tey the same.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top