From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Maglinger, Paul" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Synchronizing passwd file with Enhanced Security password database Date: Wed, 23 Nov 2005 10:30:19 -0600 Message-ID: <59D747A62703354193CA17350FC3F7D903E61486@telstar.scvl.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1132763718 9900 80.91.229.2 (23 Nov 2005 16:35:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Nov 2005 16:35:18 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Nov 23 17:35:13 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1EexXT-00042D-UH for gotm-tru64-unix-managers@gmane.org; Wed, 23 Nov 2005 17:32:08 +0100 Original-Received: (qmail 6331 invoked by uid 49509); 23 Nov 2005 16:31:48 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 6316 invoked by uid 49501); 23 Nov 2005 16:31:48 -0000 Original-Received: from 160.91.4.119 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.119):SA:0(-2.5/5.0):. Processed in 0.434362 secs); 23 Nov 2005 16:31:48 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 Original-Received: from emroute1.cind.ornl.gov (160.91.4.119) by sws1.ornl.gov with SMTP; 23 Nov 2005 16:31:48 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0IQF00G4B1WZ43@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 23 Nov 2005 11:31:47 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-1x9 #31038) id <0IQF00I021WVBB@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 23 Nov 2005 11:31:47 -0500 (EST) Original-Received: from telstar.scvl.com (scvl.com [12.28.0.30]) by emroute1.cind.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0IQF00G5G1WPMH@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 23 Nov 2005 11:31:43 -0500 (EST) Original-To: Tru64 Unix Managers list X-Envelope-from: PMAGLINGER@scvl.com X-MIMEOLE: Produced By Microsoft Exchange V6.5.7226.0 Thread-Topic: SUMMARY: Synchronizing passwd file with Enhanced Security password database Thread-Index: AcXpVp0ZMnOFFL8YSTGQSd0muWsaygCP0StgAS0bDzA= Content-class: urn:content-classes:message X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on spam2.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: news.gmane.org gmane.os.tru64.managers:8660 Archived-At: No firm responses on this. It looks like it may be something to do with C2 security whereby accounts are never deleted to prevent reuse of UIDs, and thus inadvertantly give a new user and old user's privs. So, instead of renaming the account it looks like I have to delete it and recreate it using the same UID and groups that it had previously, and renaming the home directory. Thanks to all. Paul -----Original Message----- From: Maglinger, Paul=20 Sent: Thursday, November 17, 2005 11:35 To: Maglinger, Paul Subject: ADDENDUM: Synchronizing passwd file with Enhanced Security password database Thanks to Ann Majeske, Chris Wincentsen, Richard Jackson, J.A. Guteirrez, John Lanier, and Chris Adams for their responses. Numerous mentions of using authck and edauth. The deleted account is not showing up using either command, so I'm going to let that issue go for now. The renamed account shows the new username in the passwd file and the enhanced security database, but the old username is in the enhanced security database too. I would assume that the rename would have changed both, but it appears that it actually a new entry and retains the old one as well. The old username does not appear in the Account Manager gui, and you can't log in using the old username, so why does it still exist in the database? Is this normal for Enhanced Security? It appears that I can use edauth to remove the old username, but why would such housekeeping be necessary? =20 -----Original Message----- From: tru64-unix-managers-owner@ornl.gov [mailto:tru64-unix-managers-owner@ornl.gov] On Behalf Of Maglinger, Paul Sent: Monday, November 14, 2005 14:04 To: Tru64 Unix Managers list Subject: Synchronizing passwd file with Enhanced Security password database I'm doing some housecleaning on our Tru64 5.1B servers because good ol' SekChek shows that there are two usernames that show up in the shadow passwd file and are not in the passwd file. One of these accounts was deleted, the other account was renamed due to a name change. I'm trying to find information on synchronizing these two files, but most of what I'm finding refers to a /etc/shadow file that doesn't exist. We are running Enhanced Security so what would be the shadow file is actually the auth.db, right? I can't find anything on synchronizing the two. Can someone point me in the right direction? =20 Paul Maglinger, A+, CA, CCA, CET, MCSE=20 Systems Administrator=20 Shoe Carnival Inc.=20 (812)867-4674=20 pmaglinger@scvl.com=20 ________________________________ =20