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-18 06:37:06 PST Message-ID: <3E52450B.6030307@hp.com> Date: Tue, 18 Feb 2003 09:36:59 -0500 From: John Ferlan Organization: Hewlett-Packard Company User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en,pdf MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Where can I download Shadow password software for True64 ? Thanks~~ 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> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 3boys.zk3.dec.com X-Trace: usenet01.boi.hp.com 1045579306 16.140.16.90 (18 Feb 2003 07:41:46 -0700) Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!news.compaq.com!usenet01.boi.hp.com!not-for-mail Xref: archiver1.google.com comp.unix.tru64:9556 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... >> -- John Ferlan Tru64 UNIX Security Hewlett-Packard Company