Welcome to WebmasterWorld Guest from 54.242.83.7

Forum Moderators: mack

Message Too Old, No Replies

Changing Passwords

How to edit .htaccess/.htpasswd

     
10:54 am on Jan 6, 2003 (gmt 0)

New User

10+ Year Member

joined:Dec 21, 2002
posts:7
votes: 0


Hello

I've got a password protected beedoobup set up on my virtual server and i want to change the password... I know I need to edit the .htpasswd file but how do I generate the password? Is there a program or cgi that will do it for me? I tried 'The Commander' but without luck...

Thanks for helping!

11:32 am on Jan 6, 2003 (gmt 0)

Full Member

10+ Year Member

joined:Dec 9, 2002
posts:325
votes: 0


You need to use the command line program htpasswd.
Syntax is as follows:

htpasswd /path/to/.htpasswd <username> <password>

That will then add a new user to the file with the correctly encrypted password.

To change the password you're probably best off deleting the current user and then using the above command to create the username again with the new password.

HTH
JP

12:02 pm on Jan 6, 2003 (gmt 0)

New User

10+ Year Member

joined:Dec 21, 2002
posts:7
votes: 0


How do i use the command line program htpasswd?

The rest makes sense - thanks for your help!

12:05 pm on Jan 6, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 1, 2002
posts:1424
votes: 0


Do you have a terminal access to your account?
If not, then create a cgi that calls that command and load the url in your browser.
4:30 am on Jan 8, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 7, 2003
posts:1230
votes: 0


another way is to do by hand using the crypt function to create a .htpasswd password.
4:49 am on Jan 8, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member txbakers is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Sept 1, 2001
posts:4392
votes: 0


I found a WONDERFUL htaccess web based management program. You can find it Here [htaccess.technotrade.com]

I used this for several years before switching to a windows server. I like it alot.

I noticed they have a newer version as well.

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members