rvdump permission denied: no root user on client

From: Emilio Sergi (e.sergi@somacis.com)
Date: Wed Mar 17 2004 - 10:33:15 EST


Hi all,
i'm trying to run an rvdump backup from a Tru64 5.1 (e.g. clienthost ) to an
identical host with the tape mounted on ( tapehost ).
All works fine if i run the command on the client as root:

/sbin/rvdump -0 -f tapehost:/dev/tape/tape0c -U -u -D /filesytem

On the server i did the following:
- added in .rhosts the client host ( also in the /usr/users.../.rhosts )
- added in etc/hosts.equiv the client host

My problem is when i try to use another user on the client, e.g. clbackup.
Clbackup can rsh to the tapehost machine ( rsh tapehost date run without
problems), but when i run the command above ( rvdump ) i get:

Trying to establish connection to host sappd01 using username tstadm...
rcmd: socket: Permission denied
rcmd: socket: Permission denied
rmthost(): rcmd(): Permission denied

************* PROGRAM ABORT **************

Cannot establish connection to remote rmt command
Possibly allow root connection via .rhosts on remote host. (See rmt(8)
manpage))

>From the tapehost i can run, as root, the command:

rsh -l clbackup hostclient id

and i get the correct id of clbackup in the client machine.

The only noticeable thing is that the clbackup user exists also on the
tapehost machine, but with a different UID: i cannot change this situation
and i cannot use on the client the root user!

Where is the problem?
Thanks to all
Emilio



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:54 EDT