From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5719e20e49940a21,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-09-17 04:18:53 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!news.cac.psu.edu!news.pop.psu.edu!psuvax1!news.cc.swarthmore.edu!speno From: speno@cc.swarthmore.edu (John P. Speno) Newsgroups: comp.unix.osf.osf1 Subject: Letting non-root use rmt, rdump etc. Date: 16 Sep 1994 14:33:07 GMT Organization: Swarthmore College, Swarthmore, PA, USA Message-ID: <35cab3$j3t@larch.cc.swarthmore.edu> NNTP-Posting-Host: gingko.cc.swarthmore.edu Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Summary: Can non-root do remote backups? How? Keywords: root rdump tape backups foobar crunchy I'm trying to set up an non root account, tapeuser, to be able to run remote backups on my alpha (osf 1.3). I can use rdump and rrestore on remote hosts as root with no problems. However, if I am tapeuser, I get the following errors: % rrestore -if elm:/dev/nrmt0h rcmd: socket: Permission denied Cannot establish connection to remote rmt command rmthost(): rcmd(): Permission denied Remote restore is aborted. I understand that I need an entry in /.rhosts. I have tried putting an entry for the remote machine in both /.rhosts, and in ~tapeuser/.rhosts with no success. User tapeuser does have permissions to access the tape drive (I can do it non remotely w/o problems.) Also, other rcommands work, e.g. rsh date. [root would get the same errors if the entry for the remote machine was not in /.rhosts on the machine with tape drive.] I have checked the archives for this list (http://passion.stanford.edu/lists/alpha-osf-managers/hyper) and found only one reference to this problem (http://passion.stanford.edu/lists/alpha-osf-managers/hyper/0492.html) which I'm sure I tried. The question remains: Can only root use the rdump and rrestore commands? If not, what do I have to do to make it work? -- John P. Speno, speno@cc.swarthmore.edu, Swarthmore College Computing Center "There is no wisdom greater than kindness."