rlogin fails as root on ISC 386/ix
marc at CLIK.QC.CA
Mon Jan 1 08:26:51 AEST 1990
In article <39 at guug.UUCP> ott at guug.UUCP (Joachim Ott) writes:
>In article <1940 at lamont.ldgo.columbia.edu>, fritzz at lamont.ldgo.columbia.edu (fritz zaucker) writes:
>i have done this once for microport unix: find out the address of the string
>'not on system console' in the data segment (use 'hd' and a calculator);
>find out where this address is pushl'ed (to printf) - use 'dis'; shortly
>after the printf-call is the exit-call - replace it with nop's (write your
>own program). After this you can login as root from anywhere.
I have patched mine some time ago. no need for nop's.
Change 0x75 to 0xeb at offset 0xc26 in /etc/netlogin. You can use my recently
posted program to patch nfs remapping to do it too. (by changing the offset in
the source, of course).
Marc Boucher, sys/netadm @ CLIK Telematique Inc - marc at clik.qc.ca
5144668932_home 5149337161_clik 5149332164_fax - Postmaster at clik.qc.ca
More information about the Comp.unix.i386