logging on as root on other than /dev/console
Paul Gillingwater
paul at actrix.co.nz
Sat Jan 6 17:21:48 AEST 1990
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?
--
Paul Gillingwater, paul at actrix.co.nz
More information about the Comp.unix.i386
mailing list