From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,385150f083375ae7 X-Google-Attributes: gidfee84,public X-Google-Thread: 1020c6,385150f083375ae7 X-Google-Attributes: gid1020c6,public From: randyh@kentek.com (Randy Hinds) Subject: Re: Q: Need rdump workaround Date: 1995/03/31 Message-ID: #1/1 X-Deja-AN: 100638795 sender: news@kentek.com (NEWS Admin) references: <3ld1pe$678@vixen.cso.uiuc.edu> followup-to: comp.unix.osf.osf1,comp.unix.admin organization: Kentek Information Systems newsgroups: comp.unix.osf.osf1,comp.unix.admin 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.