2 passwd system
Scott Merrilees
Sm at bhpese.oz.au
Thu Jul 12 13:55:48 AEST 1990
mferrare at 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 at bhpese.oz.au Phone: +61 49 402132
More information about the Comp.unix.questions
mailing list