From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Galt Newsgroups: gmane.os.tru64.managers Subject: Enhanced security files migration from one system to another Date: Mon, 29 Mar 2004 10:08:00 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <5.1.0.14.2.20040329095457.02d217b8@mail.comcast.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: sea.gmane.org 1080572577 16772 80.91.224.253 (29 Mar 2004 15:02:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Mar 2004 15:02:57 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Mar 29 17:02:41 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1B7yHg-0002bn-00 for ; Mon, 29 Mar 2004 17:02:41 +0200 Original-Received: (qmail 15052 invoked by uid 5); 29 Mar 2004 15:02:31 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15037 invoked by uid 49493); 29 Mar 2004 15:02:30 -0000 Original-Received: from jgalt163@comcast.net by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-4.8/5.0):. Processed in 0.897148 secs); 29 Mar 2004 15:02:30 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 29 Mar 2004 15:02:29 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HVC0081OF42ST@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 29 Mar 2004 10:02:28 -0500 (EST) Original-Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HVC005GNF3O7E@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 29 Mar 2004 10:02:18 -0500 (EST) Original-Received: from jslaptop.comcast.net (unknown[208.46.144.156]) by comcast.net (sccrmhc12) with SMTP id <2004032915021201200mfi02e> (Authid: jgalt163); Mon, 29 Mar 2004 15:02:12 +0000 X-Sender: jgalt163@mail.comcast.net Original-To: tru64-unix-managers@ornl.gov X-Mailer: QUALCOMM Windows Eudora Version 5.1 Xref: main.gmane.org gmane.os.tru64.managers:6719 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6719 Hello All, I am having trouble migrating the TCB databases from one T64 v51.a system to another system with the same version. The main difference between the systems is that the system I am copying the files from is at patch kit 2 and the target system is at patch kit 5. I have copied over the following files: /tcb/files/auth.db /var/tcb/files/auth.db /etc/auth/system/default /etc/passwd /etc/group I have removed the /etc/passwd.pag and /etc/passwd.dir files and used vipw after copying the passwd file to recreate the hashed database. I've verified that the ownership and permissions of all the copied files matches the originals ( as well as matching the permissions on the source system). At this point, I can log in as root so I assume that the /tcb/files/auth.db is functioning properly. However, when I log in through telnet as a regular user, I get a message like: "Can't rewrite protected password entry for user jsmith" If I try to change a users password, I get a similar message: "Password not changed: failed to write protected password entry" I've done this before by simply copying the auth.db files, default, passwd, and group files and it all worked properly. What am I missing? Thanks in advance. John