Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7990389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T12:59:36+00:00 2026-06-04T12:59:36+00:00

I configured a Mercurial repository on my web server using Apache and hgweb. I

  • 0

I configured a Mercurial repository on my web server using Apache and hgweb. I understand how to create new user accounts using htdigest but I’d like to know how to enable remote users to change their password. Ideally, I’d create their account with a temporary password, then send them an email inviting them to change it. Users should be able to change their own password, not those of other users (otherwise I’d simply supply them with a shell account).

Can this be done? If so, how?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T12:59:37+00:00Added an answer on June 4, 2026 at 12:59 pm

    Htdigest is an Apache user configuration file, and in principle managing these is outside the scope of Mercurial itself.

    To provide the password change form, you would have to write your own script that manipulates the htdigest file. It shouldn’t be too difficult. As I understand it each line of this file has the format:

    user:realm:MD5(user:realm:pass)
    

    Some example code to generate the MD5 hash part of this format can be found here:

    http://httpd.apache.org/docs/trunk/misc/password_encryptions.html#digest

    Probably you should be able to google for some pre-made scripts that do this, although I was unfortunately not able to quickly find one. I think it is also possible to configure Apache to connect to a pre-existing database that stores passwords in this format, and handle the password management through that.

    Alternatively, I would recommend to consider repository server packages such as RhodeCode or SCM-Manager which have built-in support for these kind of management tasks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have CruiseControl.NET configured using the Mercurial source control block. When I first executed
I have a repository in here http://repos.joomlaguruteam.com/ I using hgweb.cgi this is my hgweb.config
I have a central Mercurial repository, which configured to use HTTPS and requires authentication
I know it is not possible to create Mercurial repositories remotely using HTTP(S), for
I've set up a Mercurial repository that has a subversion subrepository. I've configured an
I'm having problems with pushing to mercurial repository: $ hg push pushing to https://user:***@hg.domain.com/X_repo
I have configured the web.config to allow 50 MB <httpRuntime maxRequestLength=51200 /> but when
I am using Mercurial and it's configured to open Beyond Compare when there is
I'm using Mercurial Distributed SCM (version 1.1.2) on my Ubuntu. I'm new to mercurial,
I am planning to use mercurial for a new project but I'm having some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.