Difference: ManagingUsers (1 vs. 10)

Revision 102018-03-09 - ChrisManchen

Line: 1 to 1
 

Manage Users

Line: 24 to 24
  You don't have to have user profile pages in TWiki for Authentication to work - see TWikiUserAuthentication for details.
Changed:
<
<
  • TWikiRegistration is used when you want new users to individually register with TWiki by filling out a form
>
>
  • TWikiRegistration is used when you want new users to individually register with TWiki by filling out a form
  For administrators only:

Revision 92011-06-05 - TWikiContributor

Line: 1 to 1
 

Manage Users

Line: 13 to 13
 
Changed:
<
<

Register User

>
>

List Users

 
Changed:
<
<
You don't have to have user home pages in TWiki for Authentication to work - see TWikiUserAuthentication for details.
>
>

Register Users

You don't have to have user profile pages in TWiki for Authentication to work - see TWikiUserAuthentication for details.

 
  • TWikiRegistration is used when you want new users to individually register with TWiki by filling out a form
Deleted:
<
<
 
Changed:
<
<

Change, Reset and Install Passwords

>
>
For administrators only:

  • BulkRegistration to register multiple users at the same time
  • Default user profile page form definition and template:
    • UserForm in TWiki web - form definition (do not change)
    • NewUserTemplate in TWiki web - template page (do not change)
  • Customized user profile page form definition and template:
    • UserForm in Main web - form definition (clone from the one in the TWiki web and customize)
    • NewUserTemplate in Main web - template page (clone from the one in the TWiki web and customize)

Query and Edit User Account Data (Passwords, E-mails)

  Note that the below features are only relevant when you use an internal password manager where TWiki can set and reset passwords.

  • ChangePassword is for users who can remember their password and want to change it
  • ResetPassword is for users who cannot remember their password; a system generated password is e-mailed to them
Deleted:
<
<
 
Added:
>
>
For administrators only:

 

Changing User Account Names

To change the user's WikiName:

Changed:
<
<
  • Rename the user's TWiki homepage in the Main web, such as from JaneSmith to JaneMiller.
>
>
  • Rename the user profile page in the Main web, such as from JaneSmith to JaneMiller.
 
    • Fix backlinks in the Main web only
    • Make sure the group topics are updated (if any.)
  • Edit the Main.TWikiUsers topic and move the user's entry so that the list is in proper alphabetical order.
Line: 123 to 142
 Submitted content: %FORMDATA%
Deleted:
<
<
META PREFERENCE name="ALLOWTOPICCHANGE" title="ALLOWTOPICCHANGE" type="Set" value="Main.TWikiAdminGroup"
 

Note: Remember to secure the topic appropriately to prevent attackers from getting emailed sensitive passwords.

Changed:
<
<
Related Topics: AdminDocumentationCategory
>
>
Related topics: UserToolsCategory, AdminToolsCategory

META PREFERENCE name="ALLOWTOPICCHANGE" title="ALLOWTOPICCHANGE" type="Set" value="%25USERSWEB%25.TWikiAdminGroup"

Revision 82010-05-15 - TWikiContributor

Line: 1 to 1
 

Manage Users

Line: 6 to 6
 
Changed:
<
<
ALERT! Some of the features below may be disabled, depending on your TWiki configuration.
>
>
ALERT! Some of the features below may be disabled, depending on your TWiki configuration.
 

Authentication and Access Control

Changed:
<
<
>
>
 

Register User

Changed:
<
<
You don't have to have user home pages in TWiki for Authentication to work - see TWikiUserAuthentication for details.
>
>
You don't have to have user home pages in TWiki for Authentication to work - see TWikiUserAuthentication for details.
 
Changed:
<
<
>
>
 

Change, Reset and Install Passwords

Note that the below features are only relevant when you use an internal password manager where TWiki can set and reset passwords.

Changed:
<
<
  • ChangePassword is for users who can remember their password and want to change it
  • ResetPassword is for users who cannot remember their password; a system generated password is e-mailed to them
  • BulkResetPassword if for administrators who want to reset many passwords at once
  • ChangeEmailAddress changes the hidden email address stored in the password file
>
>
  • ChangePassword is for users who can remember their password and want to change it
  • ResetPassword is for users who cannot remember their password; a system generated password is e-mailed to them
  • BulkResetPassword if for administrators who want to reset many passwords at once
  • ChangeEmailAddress changes the hidden email address stored in the password file
 

Changing User Account Names

To change the user's WikiName:

Changed:
<
<
  • Rename the user's TWiki homepage in the Main web, such as from JaneSmith to JaneMiller.
    • Fix backlinks in the Main web only
>
>
  • Rename the user's TWiki homepage in the Main web, such as from JaneSmith to JaneMiller.
    • Fix backlinks in the Main web only
 
    • Make sure the group topics are updated (if any.)
Changed:
<
<
  • Edit the Main.TWikiUsers topic and move the user's entry so that the list is in proper alphabetical order.
  • Recreate the old topic with a pointer to the new topic, so that links in other webs work properly. Example content:
>
>
  • Edit the Main.TWikiUsers topic and move the user's entry so that the list is in proper alphabetical order.
  • Recreate the old topic with a pointer to the new topic, so that links in other webs work properly. Example content:
  %M% Jane Smith is now known as JaneMiller

If external authentication is used and you want to change the login name:

Changed:
<
<
  • The login name needs to be changed in the authentication server (e.g. Active Directory)
  • In TWiki's Main.TWikiUsers topic, fix the mapping from login name to WikiName:
>
>
  • The login name needs to be changed in the authentication server (e.g. Active Directory)
  • In TWiki's Main.TWikiUsers topic, fix the mapping from login name to WikiName:
     * JaneSmith - jsmith - 13 Sep 2006
to:
   * JaneMiller - jmiller - 13 Sep 2006
Line: 66 to 53
  To remove a user account (FredQuimby, who logs in as "fred"):
Changed:
<
<
  1. If you are using a .htpasswd file, edit the .htpasswd file to delete the line starting fred:
    • Warning: Do not use the Apache htpasswd program with .htpasswd files generated by TWiki! htpasswd wipes out email addresses that TWiki plants in the info fields of this file.
  2. Remove the FredQuimby - fred line from the Main.TWikiUsers topic
  3. Remove FredQuimby from all groups and from all the ALLOWWEB/ALLOWTOPIC... declarations, if any.
    Note: If you fail to do this you risk creating a security hole, as the next user to register with the wikiname FredQuimby will inherit the old FredQuimby's permissions.
  4. [optional] Delete their user topic Main.FredQuimby (including attachments, if any.)

Note: Consider leaving the user topic file in place so their past signatures and revision author entries don't end up looking like AnUncreatedTopic. If you want to make it clear the user is no longer around, replace the topic content with a note to that effect. The existence of the UserName topic should also prevent that user name from being re-used, sealing the potential security hole regarding inherited permissions..

>
>
  1. If you are using a .htpasswd file, edit the .htpasswd file to delete the line starting fred:
    • Warning: Do not use the Apache htpasswd program with .htpasswd files generated by TWiki! htpasswd wipes out email addresses that TWiki plants in the info fields of this file.
  2. Remove the FredQuimby - fred line from the Main.TWikiUsers topic
  3. Remove FredQuimby from all groups and from all the ALLOWWEB/ALLOWTOPIC... declarations, if any.
    Note: If you fail to do this you risk creating a security hole, as the next user to register with the wikiname FredQuimby will inherit the old FredQuimby's permissions.
  4. [optional] Delete their user topic Main.FredQuimby (including attachments, if any.)

Note: Consider leaving the user topic file in place so their past signatures and revision author entries don't end up looking like AnUncreatedTopic. If you want to make it clear the user is no longer around, replace the topic content with a note to that effect. The existence of the UserName topic should also prevent that user name from being re-used, sealing the potential security hole regarding inherited permissions..

 

Customizing registration Emails.

Added:
>
>
 TWiki's Registration can send 3 emails who's output is governed by templates:
Added:
>
>
 
  1. User registration confirmation - templates/registerconfirm.tmpl
  2. User registration notification - templates/registernotify.tmpl
  3. Email to notify the TWiki admin of registration - templates/registernotifyadmin.tmpl
Line: 91 to 69
 
  1. User registration notification - templates/registernotify.tmpl
  2. Email to notify the TWiki admin of registration - templates/registernotifyadmin.tmpl
Changed:
<
<
As these are TWikiTemplates, they can be customized and selected using the SKIN path setting. Because there are default tmpl files in the templates dir, this cannot use Template topics.
>
>
As these are TWikiTemplates, they can be customized and selected using the SKIN path setting. Because there are default tmpl files in the templates dir, this cannot use Template topics.
 
Changed:
<
<
These template files have a specific format that matches the raw format of emails sent via SMTP, so be careful and test your changes. It is easiest to start by copying the default templates:
>
>
These template files have a specific format that matches the raw format of emails sent via SMTP, so be careful and test your changes. It is easiest to start by copying the default templates:
 
cd twiki/templates
Line: 103 to 79
 cp registerconfirm.tmpl registerconfirm.myskin.tmpl cp registernotifyadmin.tmpl registernotifyadmin.myskin.tmpl
Changed:
<
<
then add myskin to the beginning of the SKIN setting in TWikiPreferences.
>
>
then add myskin to the beginning of the SKIN setting in TWikiPreferences.
  From this point on, your myskin templates will be used for the registration emails.
Changed:
<
<
To make it possible for TWikiUsers to modify the email contents, you could use a parameterized %INCLUDE% statement in your customized version. eg:
>
>
To make it possible for TWikiUsers to modify the email contents, you could use a parameterized %INCLUDE% statement in your customized version. e.g.:
 
From: %WIKIWEBMASTERNAME% <%WIKIWEBMASTER%>
Line: 125 to 100
  EMAILADDRESS="%EMAILADDRESS%" }%
Deleted:
<
<
  • note the use of %WIKINAME%, %FIRSTLASTNAME%, %EMAILADDRESS% passed in from the INCLUDE so that the topic below is similar to the original template
 
Changed:
<
<
and then create a topic Main.RegisterNotifyEmail:
>
>
Note: The use of %WIKINAME%, %FIRSTLASTNAME%, %EMAILADDRESS% passed in from the INCLUDE so that the topic below is similar to the original template.

And then create a topic Main.RegisterNotifyEmail:

 
Welcome to %WIKITOOLNAME%.
Line: 148 to 123
 Submitted content: %FORMDATA%
Changed:
<
<
META PREFERENCE name="ALLOWTOPICCHANGE" title="ALLOWTOPICCHANGE" type="Set" value="Main.TWikiAdminGroup"
>
>
META PREFERENCE name="ALLOWTOPICCHANGE" title="ALLOWTOPICCHANGE" type="Set" value="Main.TWikiAdminGroup"
 
Changed:
<
<
  • remember to secure the topic appropriately to prevent attackers from getting emailed sensitive passwords.
>
>
Note: Remember to secure the topic appropriately to prevent attackers from getting emailed sensitive passwords.
  Related Topics: AdminDocumentationCategory

Revision 72006-09-14 - TWikiContributor

Line: 1 to 1
 

Manage Users

Line: 81 to 81
 
  1. [optional] Delete their user topic Main.FredQuimby (including attachments, if any.)
Changed:
<
<
Note: Consider leaving the user topic file in place so their past signatures and revision author entries don't end up looking like AnUncreatedTopic. If you want to make it clear the user is no longer around, replace the topic content with a note to that effect. The existance of the UserName topic should also prevent that user name from being re-used, sealing the potential security hole regarding inherited permissions..
>
>
Note: Consider leaving the user topic file in place so their past signatures and revision author entries don't end up looking like AnUncreatedTopic. If you want to make it clear the user is no longer around, replace the topic content with a note to that effect. The existence of the UserName topic should also prevent that user name from being re-used, sealing the potential security hole regarding inherited permissions..

Customizing registration Emails.

TWiki's Registration can send 3 emails who's output is governed by templates:
  1. User registration confirmation - templates/registerconfirm.tmpl
  2. User registration notification - templates/registernotify.tmpl
  3. Email to notify the TWiki admin of registration - templates/registernotifyadmin.tmpl

As these are TWikiTemplates, they can be customized and selected using the SKIN path setting. Because there are default tmpl files in the templates dir, this cannot use Template topics.

These template files have a specific format that matches the raw format of emails sent via SMTP, so be careful and test your changes. It is easiest to start by copying the default templates:

cd twiki/templates
cp registernotify.tmpl registernotify.myskin.tmpl
cp registerconfirm.tmpl registerconfirm.myskin.tmpl
cp registernotifyadmin.tmpl registernotifyadmin.myskin.tmpl
then add myskin to the beginning of the SKIN setting in TWikiPreferences.

From this point on, your myskin templates will be used for the registration emails.

To make it possible for TWikiUsers to modify the email contents, you could use a parameterized %INCLUDE% statement in your customized version. eg:

From: %WIKIWEBMASTERNAME% <%WIKIWEBMASTER%>
To: %FIRSTLASTNAME% <%EMAILADDRESS%>
Subject: %MAKETEXT{"[_1] - Registration for [_2] ([_3])" args="%WIKITOOLNAME%, %WIKINAME%, %EMAILADDRESS%"}%
MIME-Version: 1.0
Content-Type: text/plain; charset=%CHARSET%
Content-Transfer-Encoding: 8bit

%INCLUDE{
    "Main.RegistrationNotification"
    WIKINAME="%WIKINAME%"
    FIRSTLASTNAME="%FIRSTLASTNAME%"
    EMAILADDRESS="%EMAILADDRESS%"
}%
  • note the use of %WIKINAME%, %FIRSTLASTNAME%, %EMAILADDRESS% passed in from the INCLUDE so that the topic below is similar to the original template

and then create a topic Main.RegisterNotifyEmail:

Welcome to %WIKITOOLNAME%.

%MAKETEXT{"Your personal [_1] topic is located at [_2]. You can customize it as you like:" args="%WIKITOOLNAME%, %SCRIPTURL{"view"}%/%USERSWEB%/%WIKINAME%"}%

   * %MAKETEXT{"Some people turn it into a personal portal with favorite links, what they work on, what help they'd like, etc."}%
   * %MAKETEXT{"Some add schedule information and vacation notice."}%

Regards
%WIKIWEBMASTERNAME%
Your TWiki Admin


%MAKETEXT{"Note:"}%
   2 %MAKETEXT{"You can change your password at via [_1]" args="%SCRIPTURL{"view"}%/%SYSTEMWEB%/ChangePassword"}%
   3 %MAKETEXT{"If you haven't set a password yet or you want to reset it, go to: [_1]" args="%SCRIPTURL{"view"}%/%SYSTEMWEB%/ResetPassword"}%

%MAKETEXT{"Submitted content:"}%
%FORMDATA%

|*META PREFERENCE*|name="ALLOWTOPICCHANGE" title="ALLOWTOPICCHANGE" type="Set" value="Main.TWikiAdminGroup"|
  • remember to secure the topic appropriately to prevent attackers from getting emailed sensitive passwords.
  Related Topics: AdminDocumentationCategory

Revision 62006-09-14 - TWikiContributor

Line: 1 to 1
Deleted:
<
<
 
Changed:
<
<

Manage Users

>
>

Manage Users

  Register users on your TWiki site; change/reset/install passwords; remove user accounts
Added:
>
>

ALERT! Some of the features below may be disabled, depending on your TWiki configuration.

 

Authentication and Access Control

Changed:
<
<
>
>
 

Register User

Changed:
<
<
It is not necessary to have user home pages in the TWiki system for Authentication to work - see TWikiUserAuthentication for details.
>
>
You don't have to have user home pages in TWiki for Authentication to work - see TWikiUserAuthentication for details.
 
Changed:
<
<
  • TWikiRegistration is for users to fill out a form
  • NewUserTemplate can be changed to customize user home pages, it can optionally use the UserForm to define user fields as meta data
  • BulkRegistration is for administrators to use to set up one or more accounts: either from a table or from an external file
>
>
 

Change, Reset and Install Passwords

Changed:
<
<
  • ChangePassword is for users who can remember their password and want to change it
  • ResetPassword is for users who cannot remember their password; a system generated password is e-mailed to them
  • BulkResetPassword if for administrators who want to reset many passwords at once
>
>
Note that the below features are only relevant when you use an internal password manager where TWiki can set and reset passwords.

  • ChangePassword is for users who can remember their password and want to change it
  • ResetPassword is for users who cannot remember their password; a system generated password is e-mailed to them
  • BulkResetPassword if for administrators who want to reset many passwords at once
  • ChangeEmailAddress changes the hidden email address stored in the password file
 

Changing User Account Names

To change the user's WikiName:

Changed:
<
<
  • Rename the user's TWiki homepage in the Main web, such as from JaneSmith to JaneMiller.
>
>
  • Rename the user's TWiki homepage in the Main web, such as from JaneSmith to JaneMiller.
 
    • Fix backlinks in the Main web only
    • Make sure the group topics are updated (if any.)
Changed:
<
<
  • Edit the Main.TWikiUsers topic and move the user's entry so that the list is in proper alphabetical order.
  • Recreate the old topic with a pointer to the new topic, so that links in other webs work properly. Example content:
>
>
  • Edit the Main.TWikiUsers topic and move the user's entry so that the list is in proper alphabetical order.
  • Recreate the old topic with a pointer to the new topic, so that links in other webs work properly. Example content:
  %M% Jane Smith is now known as JaneMiller

If external authentication is used and you want to change the login name:

Changed:
<
<
  • The login name needs to be changed in the directory server, such as AD or LDAP
  • In TWiki's Main.TWikiUsers topic, fix the mapping from login name to WikiName such as from:
       * JohnSmith - john - 13 Sep 2006
>
>
  • The login name needs to be changed in the authentication server (e.g. Active Directory)
  • In TWiki's Main.TWikiUsers topic, fix the mapping from login name to WikiName:
       * JaneSmith - jsmith - 13 Sep 2006
  to:
Changed:
<
<
   * JohnSmith - jsmith - 13 Sep 2006
>
>
   * JaneMiller - jmiller - 13 Sep 2006
 

Removing User Accounts

To remove a user account (FredQuimby, who logs in as "fred"):

Changed:
<
<
  1. If you are using a .htpasswd file, edit the .htpasswd file to delete the line starting fred:
    • Warning: Do not use the Apache htpasswd program with .htpasswd files generated by TWiki! htpasswd wipes out email addresses that TWiki plants in the info fields of this file.
  2. Remove the FredQuimby - fred line from the Main.TWikiUsers topic
  3. Remove FredQuimby from all groups and from all the ALLOWWEB/ALLOWTOPIC... declarations, if any.
    Note: If you fail to do this you risk creating a security hole, as the next user to register with the wikiname FredQuimby will inherit the old FredQuimby's permissions.
  4. [optional] Delete their user topic Main.FredQuimby (including attachments, if any.)
>
>
  1. If you are using a .htpasswd file, edit the .htpasswd file to delete the line starting fred:
    • Warning: Do not use the Apache htpasswd program with .htpasswd files generated by TWiki! htpasswd wipes out email addresses that TWiki plants in the info fields of this file.
  2. Remove the FredQuimby - fred line from the Main.TWikiUsers topic
  3. Remove FredQuimby from all groups and from all the ALLOWWEB/ALLOWTOPIC... declarations, if any.
    Note: If you fail to do this you risk creating a security hole, as the next user to register with the wikiname FredQuimby will inherit the old FredQuimby's permissions.
  4. [optional] Delete their user topic Main.FredQuimby (including attachments, if any.)
 
Changed:
<
<
Note: Consider leaving the user topic file in place so their past signatures and revision author entries don't end up looking like AnUncreatedTopic. If you want to make it clear the user is no longer with the organization or has been banished, replace the topic content with a note to that effect. The existance of the UserName topic should also prevent that user name from being re-used, sealing the potential security hole regarding inherited permissions..
>
>
Note: Consider leaving the user topic file in place so their past signatures and revision author entries don't end up looking like AnUncreatedTopic. If you want to make it clear the user is no longer around, replace the topic content with a note to that effect. The existance of the UserName topic should also prevent that user name from being re-used, sealing the potential security hole regarding inherited permissions..
  Related Topics: AdminDocumentationCategory

Revision 52006-09-14 - TWikiContributor

Line: 1 to 1
 

Manage Users

Line: 24 to 24
 
  • ResetPassword is for users who cannot remember their password; a system generated password is e-mailed to them
  • BulkResetPassword if for administrators who want to reset many passwords at once
Added:
>
>

Changing User Account Names

To change the user's WikiName:

  • Rename the user's TWiki homepage in the Main web, such as from JaneSmith to JaneMiller.
    • Fix backlinks in the Main web only
    • Make sure the group topics are updated (if any.)
  • Edit the Main.TWikiUsers topic and move the user's entry so that the list is in proper alphabetical order.
  • Recreate the old topic with a pointer to the new topic, so that links in other webs work properly. Example content:
    %M% Jane Smith is now known as JaneMiller

If external authentication is used and you want to change the login name:

  • The login name needs to be changed in the directory server, such as AD or LDAP
  • In TWiki's Main.TWikiUsers topic, fix the mapping from login name to WikiName such as from:
       * JohnSmith - john - 13 Sep 2006
    to:
       * JohnSmith - jsmith - 13 Sep 2006
 

Removing User Accounts

To remove a user account (FredQuimby, who logs in as "fred"):

Line: 32 to 49
 
    • Warning: Do not use the Apache htpasswd program with .htpasswd files generated by TWiki! htpasswd wipes out email addresses that TWiki plants in the info fields of this file.
  1. Remove the FredQuimby - fred line from the Main.TWikiUsers topic
  2. Remove FredQuimby from all groups and from all the ALLOWWEB/ALLOWTOPIC... declarations, if any.
    Note: If you fail to do this you risk creating a security hole, as the next user to register with the wikiname FredQuimby will inherit the old FredQuimby's permissions.
Changed:
<
<
  1. [optional] Delete their user topic Main.FredQuimby.
>
>
  1. [optional] Delete their user topic Main.FredQuimby (including attachments, if any.)
  Note: Consider leaving the user topic file in place so their past signatures and revision author entries don't end up looking like AnUncreatedTopic. If you want to make it clear the user is no longer with the organization or has been banished, replace the topic content with a note to that effect. The existance of the UserName topic should also prevent that user name from being re-used, sealing the potential security hole regarding inherited permissions..

Revision 42005-03-27 - TWikiContributor

Line: 1 to 1
 

Manage Users

Line: 29 to 29
 To remove a user account (FredQuimby, who logs in as "fred"):

  1. If you are using a .htpasswd file, edit the .htpasswd file to delete the line starting fred:
Added:
>
>
    • Warning: Do not use the Apache htpasswd program with .htpasswd files generated by TWiki! htpasswd wipes out email addresses that TWiki plants in the info fields of this file.
 
  1. Remove the FredQuimby - fred line from the Main.TWikiUsers topic
  2. Remove FredQuimby from all groups and from all the ALLOWWEB/ALLOWTOPIC... declarations, if any.
    Note: If you fail to do this you risk creating a security hole, as the next user to register with the wikiname FredQuimby will inherit the old FredQuimby's permissions.
  3. [optional] Delete their user topic Main.FredQuimby.

Revision 22005-03-27 - TWikiContributor

Line: 1 to 1
 

Manage Users

Line: 11 to 12
 

Register User

Added:
>
>
It is not necessary to have user home pages in the TWiki system for Authentication to work - see TWikiUserAuthentication for details.
 
Changed:
<
<
>
>
  • NewUserTemplate can be changed to customize user home pages, it can optionally use the UserForm to define user fields as meta data
  • BulkRegistration is for administrators to use to set up one or more accounts: either from a table or from an external file
 

Change, Reset and Install Passwords

Changed:
<
<
  • ChangePassword is for users who remember their password
  • ResetPassword is for users who do not remember their password; they are asked to send a request to the site administrator to install a new password
  • InstallPassword is for the site administrator to install a password
>
>
  • ChangePassword is for users who can remember their password and want to change it
  • ResetPassword is for users who cannot remember their password; a system generated password is e-mailed to them
  • BulkResetPassword if for administrators who want to reset many passwords at once
 

Removing User Accounts

Changed:
<
<
To remove a user account:

  1. Edit the data/.htpasswd file to delete their entry (only applies if you are using a .htpasswd file)
  2. Remove the FredQuimby line from the Main.TWikiUsers topic
  3. Remove user from all groups and from all the ALLOWWEB/ALLOWTOPIC... declarations, if any.
    Note: Otherwise this is a security hole as the first one to re-register with this name will be granted the permissions of the previous user.
  4. [optional] Remove their topic files: data/Main/FredQuimby.txt and data/Main/FredQuimby.txt,v
>
>
To remove a user account (FredQuimby, who logs in as "fred"):
 
Changed:
<
<
Note: Consider leaving the user topic file in place so their past signatures and revision author entries don't end up looking like AnUncreatedTopic. If you want to make it clear the user is inactive on your site (e.g. PeterThoeny) or has been banished add a note to that effect and write protect the page (TWikiAccessControl). The existance of the UserName topic prevent that user name from being re-used.
>
>
  1. If you are using a .htpasswd file, edit the .htpasswd file to delete the line starting fred:
  2. Remove the FredQuimby - fred line from the Main.TWikiUsers topic
  3. Remove FredQuimby from all groups and from all the ALLOWWEB/ALLOWTOPIC... declarations, if any.
    Note: If you fail to do this you risk creating a security hole, as the next user to register with the wikiname FredQuimby will inherit the old FredQuimby's permissions.
  4. [optional] Delete their user topic Main.FredQuimby.
 
Changed:
<
<
-- TWiki:Main.MattWilkie - 21 Jul 2003
-- TWiki:Main.PeterThoeny - 15 Aug 2004
>
>
Note: Consider leaving the user topic file in place so their past signatures and revision author entries don't end up looking like AnUncreatedTopic. If you want to make it clear the user is no longer with the organization or has been banished, replace the topic content with a note to that effect. The existance of the UserName topic should also prevent that user name from being re-used, sealing the potential security hole regarding inherited permissions..
 
Added:
>
>
Related Topics: AdminDocumentationCategory

Revision 12004-08-15 - PeterThoeny

Line: 1 to 1
Added:
>
>

Manage Users

Register users on your TWiki site; change/reset/install passwords; remove user accounts

Authentication and Access Control

Register User

Change, Reset and Install Passwords

  • ChangePassword is for users who remember their password
  • ResetPassword is for users who do not remember their password; they are asked to send a request to the site administrator to install a new password
  • InstallPassword is for the site administrator to install a password

Removing User Accounts

To remove a user account:

  1. Edit the data/.htpasswd file to delete their entry (only applies if you are using a .htpasswd file)
  2. Remove the FredQuimby line from the Main.TWikiUsers topic
  3. Remove user from all groups and from all the ALLOWWEB/ALLOWTOPIC... declarations, if any.
    Note: Otherwise this is a security hole as the first one to re-register with this name will be granted the permissions of the previous user.
  4. [optional] Remove their topic files: data/Main/FredQuimby.txt and data/Main/FredQuimby.txt,v

Note: Consider leaving the user topic file in place so their past signatures and revision author entries don't end up looking like AnUncreatedTopic. If you want to make it clear the user is inactive on your site (e.g. PeterThoeny) or has been banished add a note to that effect and write protect the page (TWikiAccessControl). The existance of the UserName topic prevent that user name from being re-used.

-- TWiki:Main.MattWilkie - 21 Jul 2003
-- TWiki:Main.PeterThoeny - 15 Aug 2004

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.ManagingUsers.