Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: Q: Need rdump workaround
@ 1995-03-30  5:00 George Armhold
  0 siblings, 0 replies; 4+ messages in thread
From: George Armhold @ 1995-03-30  5:00 UTC (permalink / raw)


mitchell@ncsa.uiuc.edu (David Mitchell) writes:


:I've got some DEC AXP boxes running OSF/1, and I'm backing them
:up to a tape drive on a different machine.  The system currently
:works, but I'd rather not have to give the DECs root access to
:the machine with the tape drive.  Since rdump has to run as root
:on the DEC, and also has to be able to rsh into the machine with
:the tape drive, anyone who has root on the DEC can get root on
:the tape machine.  

:Most other flavors of Unix allow you to  specify a user that 
:rdump will access the tape drive as.  For example, I could
:specify:

:# rdump -f tapeman@dumphost:/dev/rst1 /rz0a

I've requested the very same "enhancement" you mention here several
weeks ago.  Please forward your request on to DEC- perhaps they'll do
it if enough people complain.  I need this functionality for
vdump/vrestore as well.

The workaround that I'm using looks something like:


	vdump  -f - /var | rsh -l tapeuser@machine dd of=/dev/nrst25

and then restore with

	rsh -l tapeuser@machine dd if=/dev/nrst25 | vrestore -x -f - 

-George
-- 
	     High Performance Computing and Design group
                 Internet: armhold@klinzhai.rutgers.edu
               UUCP: {backbone}!rutgers!klinzhai!armhold
                    BITNET: armhold@PISCES.BITNET



^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Q: Need rdump workaround
@ 1995-04-03  4:00 George Armhold
  0 siblings, 0 replies; 4+ messages in thread
From: George Armhold @ 1995-04-03  4:00 UTC (permalink / raw)


randyh@kentek.com (Randy Hinds) writes:

:The workaround I found is to set dump/rdump with the following
:permissions:

:-rwsr-x--- 2 root     sys        53248 Apr 22  1994 dump*

:and make whatever username that is to execute dump a member of the
:group 'sys' (in this case).

:I use this method for a username 'backup' which is used by the
:backup administrator here.  That way, the root passwd is
:kept confidential.

This doesn't solve his problem, since he's trying to perform REMOTE
backups.  With these perms, the remote conncetion to rmt will still be
performed as root.  

-George
-- 
	     High Performance Computing and Design group
                 Internet: armhold@klinzhai.rutgers.edu
               UUCP: {backbone}!rutgers!klinzhai!armhold
                    BITNET: armhold@PISCES.BITNET



^ permalink raw reply	[flat|nested] 4+ messages in thread
* Q: Need rdump workaround
@ 1995-03-30  1:33 David Mitchell
  1995-03-31  5:00 ` Randy Hinds
  0 siblings, 1 reply; 4+ messages in thread
From: David Mitchell @ 1995-03-30  1:33 UTC (permalink / raw)



I've got some DEC AXP boxes running OSF/1, and I'm backing them
up to a tape drive on a different machine.  The system currently
works, but I'd rather not have to give the DECs root access to
the machine with the tape drive.  Since rdump has to run as root
on the DEC, and also has to be able to rsh into the machine with
the tape drive, anyone who has root on the DEC can get root on
the tape machine.  

Most other flavors of Unix allow you to  specify a user that 
rdump will access the tape drive as.  For example, I could
specify:

# rdump -f tapeman@dumphost:/dev/rst1 /rz0a

Where dumphost is the machine with the tape drive, and tapeman is
an account which can access the tape drive (but is NOT root.)

The OSF rdump tries to access a machine named "tapeman@dumper"
instead.  Does anyone know of a workaround for this?  I've got
the same problem with HP-UX systems.

I've tried running rdump as a normal user, using some fancy file
permissions to give access to the filesystem devices, but it
still chokes trying to open the socket to the remote machine.
Like so:

% rdump -9 -f dumphost:/dev/rst1 /dev/rz0a
rcmd: socket: Permission denied
rdump: Cannot establish connection to remote rmt command
...


If anyone can provide any insight to this problem, I would
greatly appreciate it.  Please e-mail, I'll post a summary
if people are interested.

-David Mitchell

mitchell@ncsa.uiuc.edu

 




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-04-03  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-30  5:00 Q: Need rdump workaround George Armhold
  -- strict thread matches above, loose matches on Subject: below --
1995-04-03  4:00 George Armhold
1995-03-30  1:33 David Mitchell
1995-03-31  5:00 ` Randy Hinds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox