Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!samsung!munnari.oz.au!comp.vuw.ac.nz!dsiramd!actrix!paul From: paul@actrix.co.nz (Paul Gillingwater) Newsgroups: comp.unix.i386 Subject: logging on as root on other than /dev/console Summary: look in /etc/default/login Message-ID: <1990Jan6.062148.8587@actrix.co.nz> Date: 6 Jan 90 06:21:48 GMT References: <1940@lamont.ldgo.columbia.edu> <39@guug.UUCP> Reply-To: paul@actrix.co.nz (Paul Gillingwater) Organization: Actrix Public Access UNIX, Wellington, New Zealand Lines: 14 In article <39@guug.UUCP> ott@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@actrix.co.nz