Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!philmtl!zap!zoom!marc From: marc@CLIK.QC.CA (Marc Boucher) Newsgroups: comp.unix.i386 Subject: Re: logging on as root on other than /dev/console Summary: /etc/netlogin ignores /etc/default/login Message-ID: <1546@zoom.CLIK.QC.CA> Date: 8 Jan 90 16:41:55 GMT References: <1940@lamont.ldgo.columbia.edu> <39@guug.UUCP> <1990Jan6.062148.8587@actrix.co.nz> Reply-To: marc@CLIK.QC.CA (Marc Boucher) Organization: CLIK Telematique Inc., Montreal QC Lines: 21 In article <1990Jan6.062148.8587@actrix.co.nz> paul@actrix.co.nz (Paul Gillingwater) writes: >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? nope. we were talking about the rlogin to root problem. /etc/netlogin doesn't use /etc/default/login. >Paul Gillingwater, paul@actrix.co.nz -- Marc Boucher, sys/netadm @ CLIK Telematique Inc - marc@clik.qc.ca 5144668932_home 5149337161_clik 5149332164_fax - Postmaster@clik.qc.ca