Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: randyh@kentek.com (Randy Hinds)
Subject: Re: Q: Need rdump workaround
Date: 1995/03/31	[thread overview]
Message-ID: <D6BvJK.Mty@kentek.com> (raw)
In-Reply-To: 3ld1pe$678@vixen.cso.uiuc.edu

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

: 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.

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.
--
    /\       (     -Randy           | randyh@kentek.com         | It's always
   /^ \   /\       "My opinions are | Systems Administrator     | best to be
 /\.  .\ /^ \  /\  my own only. You | Kentek Information Systems| prepared for
/. \ .. /  . \/^ \ can't have 'em!!"| Boulder, Colorado         | the worst.



  reply	other threads:[~1995-03-31  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-30  1:33 Q: Need rdump workaround David Mitchell
1995-03-31  5:00 ` Randy Hinds [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-03-30  5:00 George Armhold
1995-04-03  4:00 George Armhold
read-only archive

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