Tags:
create new tag
, view all tags

Question

. I have a list of users without user passwords. They have been created without user authentication. Is there any way to change an existing user profile (to add a passord) without removing this user and adding again with password?

  • TWiki version: 01 Dec 2001
  • Web server: Apache
  • Server OS: Windows NT 4.0 Server
  • Web browser: IE 6.0
  • Client OS: Windows XP

-- SergeiPushnof - 02 Apr 2002

Answer

Presumably they have no entries in the data/.htpasswd file? Some things to check first:

  • Make sure this file is writeable by 'nobody' (should be no problem if you are using Apache on Windows)
  • Register a test user to see that this file gets updated

Once this is done, you can do htpasswd data/.htpasswd FredSmith to create a password entry for each user.

-- RichardDonkin - 02 Apr 2002

It looks like you used the form without password field first and then changed to the form asking for the password. Not verified, but you should be able to reset the passwords in TWiki.TWikiUserAuthentication and copy the encrypted string into the data/.htpasswd file. (You might need to add a temporary entry for each user in data/.htpasswd like JoeDoe:temp before you can reset the password)

-- PeterThoeny - 02 Apr 2002

Topic revision: r3 - 2002-04-03 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.