[comp.unix.wizards] How do you make /etc/d_passwd

bengsig@oracle.nl (Bjorn Engsig) (09/13/89)

I am very sorry if this has been asked before, (I guess it has), but
would some kind soul please tell me how to use /etc/d_passwd, which
strings shows me that I have compiled in.

My particular interest is for AIX on the RT, but description for any other
system is very welcome.
-- 
Bjorn Engsig, bengsig@oracle.nl, bengsig@oracle.com, mcvax!orcenl!bengsig

lars@iclswe.UUCP (Lars Tunkrans) (09/18/89)

In article <501.nlhp3@oracle.nl> bengsig@oracle.nl (Bjorn Engsig) writes:
>I am very sorry if this has been asked before, (I guess it has), but
>would some kind soul please tell me how to use /etc/d_passwd, which
>strings shows me that I have compiled in.

On System V you have to create two files in /etc,  /etc/dialups and 
/etc/d_passwd. The contents of /etc/dialups is just a list of the tty ports
you want to provide the extra sequrity for, probably your modem ports. 
One port per line in the file:

/etc/dialups

/dev/tty1
/dev/tty2
.
.
a.s.o.

The contents of /etc/d_passwd is a list of login programs with their
respective passwords.

/etc/d_passwd

/bin/sh:encrypted_password:
/bin/csh:encrypted_password:
/bin/ksh:encrypted_password:

Thus depending on shell,or other program, you will be prompted for an extra
dialup password when you login from a port listed in /etc/dialups. 
The dialups and d_passwd files should then be chmod 444 and owned by root.

L.T.

-- 
//     /////  ///     | Lars Tunkrans  Distributed Resource Systems support.
 //  ///      ///     | UUCP: {uunet,mcvax,munnari,cernvax,diku,inria,prlb2,tut
///  ///      ///     | ,ukc,unido} !sunic!iclswe!lars  Phone +46 (0)76096368
///    /////  /////// |            ( Standard Disclaimer )

bengsig@oracle.nl (Bjorn Engsig) (09/18/89)

In Article <501.nlhp3@oracle.nl> I asked for information about the
/etc/d_passwd file.  I've got many replies, thank you to all of you.

If somebody else would like to have a look, I'll be glad to send it to you.
-- 
Bjorn Engsig, bengsig@oracle.nl, bengsig@oracle.com, mcvax!orcenl!bengsig

tvf@cci632.UUCP (Tom Frauenhofer) (09/19/89)

There was a program posted to comp.sources.{misc, unix} (I forget which)
called 'dpasswd' which could be used to maintain the /etc/dialups and
/etc/d_passwd file.  I've got it on my system at home, works great.