2 passwd system
Clarence Dold
dold at mitisft.Convergent.COM
Thu Jul 12 00:53:31 AEST 1990
in article <201 at adam.adelaide.edu.au>, mferrare at adelphi.ua.oz.au (Mark Ferraretto) says:
> I want to set up my login procedure to make users use two passwords to login
> instead of one.
********
d_passwd
********
Three steps:
1) See if your version of login supports dialup passwords:
#strings /bin/login |grep d_pas
/etc/d_passwd
2) Create a /etc/dialups file containing the name of the tty you want to guard:
#-r-------- 1 root root 189 Nov 24 08:46 /etc/dialups
/dev/tty500
# /etc/dialups will contain all of the devices that
# **might** present Dialup Password, depending on
# entries in /etc/d_passwd.
3) Create a /etc/d_passwd controlling all possible login shells:
#-r-------- 1 root root 368 Nov 24 08:45 /etc/d_passwd
# /etc/d_passwd contains all 'initial programs' allowed
# when invoked on a line specified in /etc/dialups
# /bin/sh:13characterEncryption:
# The encrypted password is drawn over via grep after applying
# /bin/passwd to a superfluous entry in /etc/passwd.
/bin/sh:JUNK: No login possible
/bin/ksh:skLrmQZO73Y4K: Password required on ksh login
/bin/rsh:: No password required on 'guest' rsh login
# A line to allow uucp entry with no password:
/usr/lib/uucp/uucico::
# Use links to different shell names to cause certain login ids
# to require Dialup password, while other logins using the same
# shell with a different name don't need a password.
--
---
Clarence A Dold - dold at tsmiti.Convergent.COM (408) 435-5293
...pyramid!ctnews!tsmiti!dold FAX (408) 435-3105
P.O.Box 6685, San Jose, CA 95150-6685 MS#10-007
More information about the Comp.unix.questions
mailing list