Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: David W on February 24, 2003, 04:59:04 AM

Title: htpasswd
Post by: David W on February 24, 2003, 04:59:04 AM
Hi all,
I have a upcoming server upgrade (new 5.6 Box).
I am currently using Darrell May's http://www.myezserver.com/downloads/mitel/howto/website-access-security-howto.html to secure one of my sites. What I need to know is if I use backup to desktop on my current 5.1.2 box can I restore to the new box and not loose my 200+ users that are registered to this site. If not how can I forklift this data file to the new box without looseing the username/passwords?

Thanks
Title: Re: htpasswd
Post by: Abe Loveless on March 04, 2003, 11:24:57 PM
From looking at the howto, it looks like your user list is going to be in /usr/bin/htpasswd.  I doubt this directory will be backed up when you do a backup to desktop.

If I remember correctly, your templates-custom directories will be backed up.

So, do the backup to desktop and copy the /usr/bin/htpasswd file out to another pc so you can put it back when your upgrade is finished.

If you were doing an upgrade of the same box, I believe it would be ok, as is.

Hope that helps
Title: Re: htpasswd
Post by: Abe Loveless on March 05, 2003, 12:05:58 AM
I believe I was mistaken... the howto shows the user list being in the following location:

 /etc/httpd/conf/htpasswd.test

So, you'll want to copy the file from here.  I think it should work.  You probably won't want to format your original server though, until you're sure everythings running right.  :)