X-Body-Checksum-Md5: 5cbf8455555977d21154117ebd910174
Precedence: bulk
Situation in Question:
root@SomeHost having a Script running off cron which tries to
(ufs)dump Stuff to SomeUser@TapeHost. SomeUser@TapeHost having
restricted Shell, .rhosts, owns Tape Devices, all the Jazz.
Everything fine and dandy with .rhosts reading "SomeHost root"
on a 4.x Machine, but on 2.4, .rhosts all of a Sudden needs
to be "SomeHost SomeUser", though SomeUser@SomeHost doesn't even
exist.
Solution:
2.4 ufsdump is messed up. (Read: The Problem is limited to this
one Executable. Phew! ;-) If running as root, its hardcoded
rsh Implementation will identify the dump'ing User as
SomeUser@SomeHost, rather than root@SomeHost. Possibilities:
1) Live with the "strange" .rhosts (which I'll do right now)
2) Run dump as non-root (involves chown'ing raw Disk Devices ...)
3) Patch 102680-04 might fix it (I'll check)
4) Avoid the ufsdump rsh Implementation altogether (like in
dump f - | rsh dumphost cpio or whatever. I'ld like to
get ufsdump switched to ssh, but that's a Bit too messy
to do it from Scratch myself ;-)
Thanks to:
Casper Dik <casper@holland.Sun.COM>
Thanks again,
J. Bern
-- /\ /""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""\ / \/ bern@uni-trier.de (Size Limit!) | P.O. Box 1203 | Ham: \/\ / J. \ bern@ti.uni-trier.de (SUNAttachm.OK) | D-54202 Trier | DD0KZ / \ \Bern/ No Finger etc.; Use Mail (Subj. "##" for Autoreply List) and \ / \ /\ WWW. /\/ \/ \____________________________________________________________/
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:13 CDT