Rereading the original case PSARC/2004/480, this issue came up before. > It should probably have never been in /usr/sbin anyway, but > rather somewhere in /usr/lib. I believe it is always invoked > as /etc/rmt, which could presumably point somewhere else if the > need arose and it was thought desirable.
Dworkin's reply: > You are completely correct as far as you go. Originally, the binary > lived in /etc/rmt (at Berkeley and I'm pretty sure Sunos 3.x; > certainly in earlier releases). There was a big push to make / as > small as possible in Sunos 4.x, so it got moved from /etc to /usr/etc > and a symlink dropped in. I'm not sure when it moved from /usr/etc to > /usr/sbin, but the SCCS history suggests it was put there as part of > the original SVr4/5.0 work. Margot Andrew Gabriel wrote: > Gary Winiger wrote: >> I don't know and never have see a justification for any >> executables in /etc/* IMO, doing so needs some extra special >> justification that I don't see in the spec. > > I believe the rmt protocol is defined to be invoked as > "rsh somehost /etc/rmt" under the covers, so /etc/rmt is part of the > rmt protocol. > > Given that rmt is never invoked directly as a command as far as I'm > aware, it's not clear to me that /usr/sbin/rmt is the right location > for the real binary. Somewhere in /usr/lib/ might be more appropriate. >