tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: John Galt <jgalt163@comcast.net>
Subject: Enhanced security files migration  from one system to another
Date: Mon, 29 Mar 2004 10:08:00 -0500	[thread overview]
Message-ID: <5.1.0.14.2.20040329095457.02d217b8@mail.comcast.net> (raw)

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



                 reply	other threads:[~2004-03-29 15:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox