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