tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Enhanced security files migration  from one system to another
@ 2004-03-29 15:08 John Galt
  0 siblings, 0 replies; only message in thread
From: John Galt @ 2004-03-29 15:08 UTC (permalink / 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-29 15:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-29 15:08 Enhanced security files migration from one system to another John Galt

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