Copyright startup lines <was: SECURITY BUG IN ISC UNIX SYSV386>

Marc Unangst mju at mudos.ann-arbor.mi.us
Mon Feb 18 09:16:35 AEST 1991


In article <248 at raysnec.UUCP> shwake at raysnec.UUCP (Ray Shwake) writes:
>	This assault of the copyright credit lines is not limited to ISC.
>We have a copy of SCO's ODT in the office which credits the sources for
>all the ODT components, EVEN IF NOT INSTALLED! Strange, on the old System III
>and V.2 boxes I'd played with, which included copyrighted contributions from
>UCB, for example, all I encountered was a clean login prompt. I suspect
>these references are all coming out of /bin/login.

If you're referring to the long list of copyrights that come up after
the date prompt, the list is generated by one of the rc scripts, and the
actual text comes out of files in the /etc/copyrights directory.  You
can take it out by editing the rc scripts, or moving the contents of
/etc/copyrights somewhere else, but be warned that you're probably
invalidating your license or something silly like that.  I don't really
consider it a large problem, so I haven't bothered to do anything about
it.

If you're referring to the list that gets displayed after your last
login information, and before the /etc/motd file, then yes, it comes
from /bin/login.  You could probably null out the text if you wanted
to, but it's much easier to either (a) ignore it; or (b) replace
/bin/login with one of your own creation.  The only problem with
(b) is that it doesn't set your LUID, so you'll either have to use
the PD library for that, or write your own.

>	On a related issue, both ISC and SCO UNIX *prefix* the login prompt
>with a node name reference and a couple of new lines. *This* one, I believe,
>comes out of getty.

No, that comes out of /etc/gettydefs, and can be rather easily changed
to your own favorite message.  My only beef is that SCO getty doesn't
seem to support /etc/issue or a similar file, and limits the "identification
field" of /etc/gettydefs to 89 characters.  Yuk.

-- 
Marc Unangst                | "I think I have a bad disk.  Even though I
mju at mudos.ann-arbor.mi.us   |  folded it to fit into my drive, it still
...!umich!leebai!mudos!mju  |  doesn't work..." -Caller to a tech support line



More information about the Comp.unix.sysv386 mailing list