2 passwd system
P.Garbha
pgd at bbt.se
Tue Jul 10 18:51:37 AEST 1990
In article <201 at adam.adelaide.edu.au> mferrare at adelphi.ua.oz.au.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?
>
You can get the login.c program from the freed bsd-sources. You have to
customize it a little for your system, but still it is a very much better
basis to start to work from, than to write login from scratch.
Xenix allows you to call any other program instead of login, via an entry
in /etc/gettydefs, but i have heard that other systems have not. A man
gettydefs should tell you how it is on your system.
I have replaced /etc/login with a customized version of BSD login, and
I am happy with it.
More information about the Comp.unix.questions
mailing list