We have a exabyte attached to a Solaris Sparc 20. I am trying to
backup on linux ext2 filesystem using dump0.3 onto the Solaris machine
using a user called diskread.
The dump command works fine for root, but if I login as diskread, I get
the error:
DUMP: Protocol to remote tape server botched (code "rmt: Command not
found").
rdump: Lost connection to remote host.
Even though I made sure .rhosts and setuid root permissions are used on
/sbin/dump. I used strace and found the following problem:
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
bind(3, {sin_family=AF_INET, sin_port=htons(1023),
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EACCES (Permission denied)
close(3) = 0
:
write(2, "rcmd: socket: Permission denied\n"..., 32rcmd: socket: Permission
denied
) = 32
So, for some reason diskread does not have permissions to open a socket.
Can anyone give me any help on this?
Regards,
Victor.