From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,e4ce2f02460124d3,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-07-23 05:57:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!newsfeed-zh.ip-plus.net!news.ip-plus.net!eumel.hag.hilti.com From: "Skaghk" Newsgroups: comp.unix.tru64 Subject: corrupt /etc/passwd Date: Tue, 23 Jul 2002 14:57:22 +0200 Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) Message-ID: <3d3d52b5$1@eumel.hag.hilti.com> NNTP-Posting-Host: 193.202.255.194 X-Trace: rex.ip-plus.net 1027429037 8182 193.202.255.194 (23 Jul 2002 12:57:17 GMT) X-Complaints-To: abuse@ip-plus.net NNTP-Posting-Date: Tue, 23 Jul 2002 12:57:17 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Original-NNTP-Posting-Host: 10.1.104.24 X-Original-Trace: 23 Jul 2002 14:57:25 +0200, 10.1.104.24 Xref: archiver1.google.com comp.unix.tru64:8197 Hi there, I got a box running Tru64 V. 4.0 which got a blown up /etc/passwd. The file currently consitst of 4096 characters of ASCII 0. Surprisingly users still can log in and su to root also works well. Changing passwords ist the only thing, that does not work. There are two other files /etc/passwd.dir (as bad as passwd) and /etc/passwd.pag (readable but wired passwd fragments) which I think got created while /etc/passwd has been accessed rw last time. Running mkpasswd did blow up the system completely. Restoring those two files at least brought me bak to the original state. Has anyone got an idea how to fix the /etc/passwd file? Thanx S. P.S. Comments containing the word "backup" will be ignored ;-)