Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to Restore or Rebuild a Password File?

Posted on 2005-04-22
3
Medium Priority
?
292 Views
Last Modified: 2013-11-22
Greetings All,

I currently have a FreeBSD 4.8 box and I am building a new (bigger, better) 4.10 box. I am moving all of the 'Home' directories over to the new box and I want to preserve the old password file. I know that I can't just copy the old one to the new machine but I seem to remember that there is a way to preserve or convert the password file.

I just don't remember where I sawt that info.....

Thanks for any help

rrbecker
0
Comment
Question by:rrbecker
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
it_alchemist earned 800 total points
ID: 13850663
Just copy the /etc/master.passwd file over to the new box, and then run: pwd_mkdb
to rebuild the database.



0
 
LVL 2

Author Comment

by:rrbecker
ID: 13850706
Hi it_alchemist,

I was just about to delete this question because I had found information stating the same. However I am glad that I received a response that confirmed the process. I had already moved over the 'Home' directories but was reluctant to do much else until I had a 'warm fuzzy' about the logins.

I am going to try that and hope for the best. I'll let you know how things go.

Thanks

rrbecker
0
 
LVL 2

Author Comment

by:rrbecker
ID: 13850947
Hi it_alchemist,

Worked great. Thanks for the assurance and help.

rrbecker
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question