Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!metro!cluster!nuts!bhpese.oz.au!Sm From: Sm@bhpese.oz.au (Scott Merrilees) Newsgroups: comp.unix.questions Subject: Re: 2 passwd system Message-ID: <1990Jul12.035548.15570@bhpese.oz.au> Date: 12 Jul 90 03:55:48 GMT References: <201@adam.adelaide.edu.au> Organization: BHP Rod & Bar, Newcastle, Australia Lines: 19 mferrare@adelphi.ua.oz.au (Mark Ferraretto) writes: >I want to set up my login procedure to make users use two passwords to login >instead of one. > >The problem I have is if I rewrite /bin/login how to I get getty to recognise >my login procedure instead of /bin/login apart from overwriting it (I don't >have sources)? Is rewriting /bin/login the best way to go about this? If you are using System V, you could try making all lines dailup & setting the dialup password, or, alternativly, if you are seriously paranoid, using the sublogin system. The sublogin system (or whatever it is called) works by putting a * in the shell field of the passwd file for the user, then login does a chroot to the directory field, and then runs login again. See login(1), and maybe other manuals as well. Sm -- Scott Merrilees, BHP Information Technology, Newcastle, Australia Internet: Sm@bhpese.oz.au Phone: +61 49 402132