From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,4819b814ec2fdd93 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-02-19 02:59:10 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: qqharry@yahoo.com.hk (Hornet) Newsgroups: comp.unix.tru64 Subject: Re: Where can I download Shadow password software for True64 ? Thanks~~ Date: 19 Feb 2003 02:59:10 -0800 Organization: http://groups.google.com/ Message-ID: <1be61dbe.0302190259.150f143e@posting.google.com> References: <1be61dbe.0302130157.1b918ab4@posting.google.com> <3E4BB7C9.57EC1AA9@hp.com> <1be61dbe.0302140051.381434cb@posting.google.com> <3E4CF993.3080605@hp.com> <1be61dbe.0302161959.25af6791@posting.google.com> <3E52450B.6030307@hp.com> NNTP-Posting-Host: 202.175.28.34 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1045652350 28511 127.0.0.1 (19 Feb 2003 10:59:10 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 19 Feb 2003 10:59:10 GMT Xref: archiver1.google.com comp.unix.tru64:9566 Thanks very much John. I've done the enhanced security and everything seems okay at this moment. I may test more on it later. Thanks all for helping, especially John. :> John Ferlan wrote in message news:<3E52450B.6030307@hp.com>... > Hornet wrote: > > > Thanks all to share lots of experience to me. May I summarize my > > question once again? If I really need to shadow the password, > > > > * Method 1: to launch the 'secconfig' utility configure the custom as > > enhanced security. > > * Method 2: to create accounts in /var/tcb/files/auth.db file > > > > Am I right? > > > When you run secconfig - all the accounts in /etc/passwd (or anything > obtainable through getpwent() will be "migrated" into the auth.db. Each > account is still listed in /etc/passwd, but the passwd field is the > replaced with an asterisk ("*"). > > I think this answers the "issue" below... > > > Once you are running enhanced security, the provided sysadmin tools > (adduser, dxaccounts, etc.) will add users to both /etc/passwd and > auth.db automagically. If though you have your own homebrewed new user > tool, then once it adds the account to /etc/passwd (in whatever manner > you choose to do so), just run the 'convuser' utility and the account > will also be added to the auth.db file. Check the convuser man page for > the exact switches you would want. > > > > > > In Method 2, if my system's accounts have been already created without > > shadow, am I necessary to create that auth.db file and copy the passwd > > file data to there manually? How do I do? Do you guys have any idea > > or reference web site to let me have a look? Actually I don't want to > > make any amendments on my current system. > > > > Thanks!!! :> > > > > > > > > John Ferlan wrote in message news:<3E4CF993.3080605@hp.com>... > > > >>That may have been true pre-v5.1 (or so days)... But as of that release > >>one can configure their system to just have the passwords "out of the > >>/etc/passwd" file. Accounts are created in the [/var]/tcb/files/auth.db > >>file and handle the password features. > >> > >>In fact, the 'secconfig' utility will allow you to choose to configure > >>as "shadow" or "custom"... > >> > >> > >>>You're better off installing one of the open source shadow password packages > >>>instead. Ideal would be one that worked as an SIA plugin, but the only SIA > >>>plugin I've found is a Kerberos5 one. > >>> > >>Just remember if you do this, then you have to do it correctly and the > >>support is in either "freeware" or "shareware" mode... > >> > >> > >>>ftp://ftp.pld.org.pl/software/shadow/shadow-4.0.3.tar.gz > >>> > >>>This has hooks to work as a PAM module. It may be possible to hook it into > >>>SIA, with something like: > >>> > >>>siad_ses_authent=(BSD,/local/lib/libshadow.so) > >>> > >>>and so on, for the other authentication and password change hooks. > >>> > >>> > >>> > >>Actually that format is totally unsupported. BSD is the Base Security > >> > >>model as provided by the Tru64 Security group. Your configuration > >>should use some other letters than "BSD"... "SHAD" is fine, but then > >>make sure you keep the "BSD" there for compatibility. There is a > >>siacfg utility that will help you create/manage the matrix.conf > >>file. If you do things wrong and/or in an unsupported manner in > >>the matrix.conf - the 5.1b code will let you know that... > >>