From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: e63b27eb52,61548776808dc8ec X-Google-Attributes: gide63b27eb52,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.135.2 with SMTP id po2mr2706773pbb.0.1352354039198; Wed, 07 Nov 2012 21:53:59 -0800 (PST) From: ChrisQ User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.9.1.8) Gecko/20100610 Thunderbird/3.0.3 MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: TCB auth.db to /etc/passwd? References: <86d03d90-1696-4045-99e6-2e26f16d53c9@googlegroups.com> In-Reply-To: <86d03d90-1696-4045-99e6-2e26f16d53c9@googlegroups.com> Message-ID: NNTP-Posting-Host: 86.3.40.150 X-Complaints-To: http://netreport.virginmedia.com X-Trace: 1351875048 86.3.40.150 (Fri, 02 Nov 2012 16:50:48 UTC) NNTP-Posting-Date: Fri, 02 Nov 2012 16:50:48 UTC Organization: virginmedia.com Date: Fri, 02 Nov 2012 16:50:48 +0000 X-Received-Bytes: 2250 Path: s9ni86892pbb.0!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.mccarragher.com!news.grnet.gr!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!news.swapon.de!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!69.16.177.246.MISMATCH!cyclone03.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!npeersf03.am4!fx06.am4.POSTED!not-for-mail Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 10/29/12 22:46, Chuck Whealton wrote: > Guys, > > I doubt I'm going to have much luck with this one, however, I figured I'd give it a shot. > > We have a client with a Digital UNIX 4.0D (build 878) system that is using the Trusted Computing Base. The /etc/passwd file was corrupted MONTHS ago now, and while there probably hasn't been a ridiculous amount of activity on the system in that time, there's been enough that it'll be a serious pain to put the /etc/passwd file back together manually. > > My question is this: I know there are utilities to create the auth.db files from the text based files, using convauth, but it doesn't appear it goes both ways. From what I can tell, I can't use that utility to recreate the /etc/passwd file from the auth.db files, which are intact. The authchk utility seems to only check integrity, it doesn't appear to actually make repairs. > > Is there anything I'm missing, any utilities out there to help in recreating/repairing an /etc/passwd file from the TCB auth.db data, or am I just stuck putting this thing back together entry by entry? > > Thanks for any help... > > Charles Whealton Silly question, but doesn't the client have backup tapes ?. If so, you should be able to restore a single file, or the whole /etc tree. I always make copies of passwd to passwd.old before any change... Regards, Chris