Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I convert the old password files from Professional MachTen to Power MachTen?

0
10 Posted

How do I convert the old password files from Professional MachTen to Power MachTen?

0
10

Because Power MachTen is BSD 4.4 compliant, we have moved to the shadow password suite. As a result, the old databases are no longer compatible. The following two perl scripts will convert the password files for you. The first takes your passwd file and outputs what your master.passwd should look like. Just run it and redirect your output to /etc/master.passwd. You should also chmod 600 this file so only root can read it. The second modifies your passwd file so it no longer contains the passwords. You should back up your passwd file before you try any of this, in case anything goes wrong. If you don’t already have perl, you can get it from our ftp site. Using the “vipw” command, you should edit the password information. Just modify it so it will update the database, i.e., change something then change it back. When you exit vipw, it will build the spwd.db and pwd.db databases.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123