fpb@ittc.wec.com (Frank P. Bresz) (04/23/91)
Hi There, I would like to know if there is a way to use rdump without being root. On the Sun Workstations I can dump so long as I have read access to the raw disk partitions. The reason I want to do this is to perform backups to an exabyte tape drive without haveing to give the remote tape machine root privelages on the local machine or vice versa. I have my own super intense backup script which currently backs up 32 partitions around my network on a nightly basis. Temporarily I had to hack it so the the ultrix call feeds dd after making the system I am trying to dump have a setuid version of rdump (yes I know this is a security issue in itself). Any pointers appreciated. -- | () () () | Frank P. Bresz | Westinghouse Electric Corporation | \ /\ / | fpb@ittc.wec.com | ITTC Simulators Department | \/ \/ | uunet!ittc!fpb | Those who can, do. Those who can't, simulate. | ---------- | +1 412 733 6749 | My opinions are mine, WEC don't want 'em.
paul@caen.engin.umich.edu (Paul Killey) (04/23/91)
In article <FPB.91Apr22223426@ittc.ittc.wec.com>, fpb@ittc.wec.com (Frank P. Bresz) writes: |> |> Hi There, |> |> I would like to know if there is a way to use rdump without being |> root. Something like this: rmtape = rcmd(&rmtpeer, sp->s_port, "root", "root", "/etc/rmt", 0); has to be something like this: rmtape = rcmd(&rmtpeer, sp->s_port, name, name, "/etc/rmt", 0); where name is the login id that owns the process. for you to run rdump as a non-root user. Unfortunately, the former is what you find on ultrix, at least at 3.1.