RLOGIN problem


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users RLOGIN problem
# 1  
Old 02-03-2005
RLOGIN problem

hi !

i ve a problem with rlogin. i have a server from which only root user can Rlogin other servers.
other users can t rlogin, they get the following error :
"rcmd2: socket: The file access permissions do not allow the specified action"
Does somebody can help ?
Thanks,
Karine
# 2  
Old 02-03-2005
Posting your OS and version would REALLY help!

If solaris then this may assist:

rsh and/or rcp and/or rlogin fails with the following error message:

rcmd: socket: Permission denied

Resolution: Top

For SunOS[TM] (4.x):

# chown root /usr/ucb/rsh /usr/ucb/rcp /usr/ucb/rlogin
# chmod 4755 /usr/ucb/rsh /usr/ucb/rcp /usr/ucb/rlogin

it should look like:

-rwsr-xr-x 1 root 6168 Oct 11 1990 /usr/ucb/rsh
-rwsr-xr-x 1 root 106558 Oct 11 1990 rcp
-rwsr-xr-x 1 root 24576 Oct 11 1990 rlogin


For Solaris[TM] (2.x):

# chown root /usr/bin/rsh /usr/bin/rcp /usr/bin/rlogin
# chmod 4555 /usr/bin/rsh /usr/bin/rcp /usr/bin/rlogin

it should look like:

-r-sr-xr-x 1 root bin 8772 Jul 15 21:31 /usr/bin/rsh
-r-sr-xr-x 1 root bin 20292 Jul 15 21:31 /usr/bin/rcp
-r-sr-xr-x 1 root bin 15808 Jul 15 21:31 /usr/bin/rlogin
# 3  
Old 02-03-2005
Aix 5.2

Sorry i forgot...
thanks for your answer, i ll try it later
Karine
# 4  
Old 02-06-2005
Computer Here is the solution

Smilie
i fixed the problem by changing permissions to 555 to /usr/bin/rlogin
since the all users can rlogin and rsh.
i ve found the solution at Unix Hp site (i use AIX 4.3)

http://docs.hp.com/en/B2355-90695/rcmd.3N.html Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

RSH/rlogin problem

Hello, When I try and RSH/RLOGIN onto a box with user root, I get the prompt but the username/password combination NEVER work. I have the password up properly on the host machine. Does rsh/rlogin not make use of ./etc/passwd and /etc/shadow? (1 Reply)
Discussion started by: mojoman
1 Replies

2. UNIX for Dummies Questions & Answers

strange rlogin problem

Hi, in my environment we have several server with rlogin passwordless login enabled, now there is a problem to setup this with a hpux server. i have check the .rhosts file and kerberos key are all setup properly and permission is correct, even other user id on the server can login without... (3 Replies)
Discussion started by: robertngo
3 Replies

3. Shell Programming and Scripting

rlogin

Hi all, i need to remotely execute a couple of commands on anyother server, but rsh is not allowed. for that matter i am bound to use rlogin. so what i am trying to do in the script is : 1) rlogin asad 2) Wait for Login prompt 3) Waiting for Password Prompt 4) Once authenticated, execute... (4 Replies)
Discussion started by: asadlone
4 Replies

4. HP-UX

rlogin problem

on the system, sometimes the rlogin command can not login the remote node,but ping command can echo the packet. if the inetd domean restarted , rlogin runs normally. We want to know what cause the rlogin failed and how to fix it. (2 Replies)
Discussion started by: Frank2004
2 Replies

5. UNIX for Advanced & Expert Users

problem in rlogin

Dear Experts, i want to make one script ,by running that script it should rlogin from one mashine to another and the username and passord should be in the script so that it could not ask from me the username and password of another machine from me . please help me out. Regards, SHARY (1 Reply)
Discussion started by: shary
1 Replies

6. UNIX for Advanced & Expert Users

RLogin problem

I need to establish rlogin between 2 of my servers (and I know, it's not secure, smart, etc. ... it's a temporary requirement that I have to do) I tried all the standards. I'm trying to rlogin from server A to server B On server B, I made a /.rhosts file that contains server A's name On... (4 Replies)
Discussion started by: FredSmith
4 Replies

7. IP Networking

rlogin problem

On the HP-UX hostA, the command rlogin hostB generates the error "rlogind: Host address mismatch" even though the hostname & IP of hostA are defined in the .rhosts file and the /etc/hosts files of hostB respectively. The IP and the hostname of hostB are defined in the /etc/hosts file of hostA. (1 Reply)
Discussion started by: vijaysharma.vs
1 Replies

8. Cybersecurity

not allow rlogin

does anyone know how to stop rlogin to my sunsolaris so I have 2 machines...I can not telnet one becouse that is not allowed but I can telnet the other and do rlogin to first one..I want to stop that.. so.. telnet A from C machine - works telnet B from C machine - does not work but... (3 Replies)
Discussion started by: amon
3 Replies

9. Shell Programming and Scripting

rlogin

I'm comparing a table from two databases on two different servers to check for equality. 1. How do I use rlogin from a script , is it like this ? rlogin -l $username $server1 where $username and $server1 are passed from the command line. 2.create a copy of that table, compress it and... (3 Replies)
Discussion started by: seaten
3 Replies

10. UNIX for Dummies Questions & Answers

Rlogin???

From any computer on our network when you rlogin into one machine (this only happens on this machine) it'll hang for about 3 minutes before loggin into that machine. If your sick of waiting you can do a <ctrl> C and then it'll rlogin into the machine it is meant to BUT it wont keep the shell... (1 Reply)
Discussion started by: merlin
1 Replies
Login or Register to Ask a Question