logging on as root on other than /dev/console

Marc Boucher marc at CLIK.QC.CA
Tue Jan 9 03:41:55 AEST 1990


In article <1990Jan6.062148.8587 at actrix.co.nz> paul at actrix.co.nz (Paul Gillingwater) writes:
>In article <39 at guug.UUCP> ott at guug.UUCP (Joachim Ott) 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.
>
>Gack!  What's wrong with commenting out the line
>
>CONSOLE=/dev/console
>
>in /etc/default/login?
	nope. we were talking about the rlogin to root problem. /etc/netlogin
doesn't use /etc/default/login.

>Paul Gillingwater, paul at actrix.co.nz

-- 
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 mailing list