home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11591 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.8 KB  |  45 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!wupost!gumby!destroyer!ubc-cs!unixg.ubc.ca!narwhal.ubc.ca!laplante
  3. From: laplante@ocgy.ubc.ca (Denis Laplante)
  4. Subject: Re: Is there a 'dump' program for IRIX?
  5. Message-ID: <1992Jul29.171432.8977@unixg.ubc.ca>
  6. Sender: news@unixg.ubc.ca (Usenet News Maintenance)
  7. Nntp-Posting-Host: narwhal.ocgy.ubc.ca
  8. Organization: University of British Columbia, Vancouver, B.C., Canada
  9. References: <31518@adm.brl.mil> <1992Jul24.201601.14227@eng.umd.edu> <nnbhtn4@zuni.esd.sgi.com>
  10. Date: Wed, 29 Jul 1992 17:14:32 GMT
  11. Lines: 32
  12.  
  13. olson@anchor.esd.sgi.com (Dave Olson) writes:
  14. >All 4.0 IRIX systems come with dump/restore, and there is an 
  15. >(unsupported) version floating around somewhere for 3.3.
  16.  
  17. Changing the subject slightly, I would like to draw attention on two
  18. differences between dump under IRIX and the BSD and Sun versions.
  19.  
  20. 1- It counts blocks of 1024 bytes, not 512 !  For du and df, the IRIX versions
  21.    count blocks of 512 bytes.  It seems like a lot of trouble just to to be
  22.    different from SunOs :-)
  23.  
  24. 2- Under IRIX dump is not suid:
  25.    Under SunOs 4.1.2
  26. -rwsr-sr-x  1 root     tty         57344 Oct 23  1991 /usr/etc/dump*
  27.    but under IRIX 4.0.1
  28. -rwxr-xr-x   1 root     sys       131120 Jan 17 10:09 /usr/etc/dump*
  29.  
  30. This causes the following problem when not running as root (but with
  31. appropriate group read permission on the raw disk device file):
  32.  
  33.  dump 0f red:/dev/null /
  34.    rcmd: socket: Permission denied
  35.    DUMP: Couldn't execute /etc/rmt on red
  36.  
  37. Is there a reason not to make dump suid root?  It would then allow the
  38. dump program to run as a less priviledged user than root, and reduce
  39. the need for /.rhosts remote root login permission.  For example I
  40. could have the host with the tape (red) call up host blue using 
  41. something like:
  42.     rsh blue /etc/dump 1uf red:/dev/nrtapens /usr
  43.  
  44.  
  45.