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