Tags:
tag this topic
create new tag
view all tags
%STARTINCLUDE% ---+ Manage Users _Register users on your TWiki site; change/reset/install passwords; remove user accounts_ %TOC% %X% Some of the features below may be disabled, depending on your TWiki configuration. ---++ Authentication and Access Control * TWikiUserAuthentication describes your options for user authentication * TWikiAccessControl describes how to define groups and how to restrict access to content ---++ List Users * %USERSWEB%.%WIKIUSERSTOPIC% - list all registered users * %USERSWEB%.UserList - user list * %USERSWEB%.UserListByDateJoined - user list by date joined * %USERSWEB%.UserListByLocation - user list by location ---++ 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 __For administrators only:__ * BulkRegistration to register multiple users at the same time * Default user profile page form definition and template: * UserForm in %SYSTEMWEB% web - form definition (do not change) * NewUserTemplate in %SYSTEMWEB% web - template page (do not change) * Customized user profile page form definition and template: * %USERSWEB%.UserForm in %USERSWEB% web - form definition (clone from the one in the %SYSTEMWEB% web and customize) * %USERSWEB%.NewUserTemplate in %USERSWEB% web - template page (clone from the one in the %SYSTEMWEB% 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 * ChangeEmailAddress changes the hidden email address stored in the password file __For administrators only:__ * QueryUsers to query and edit user account data (password, e-mail etc) * BulkResetPassword to reset many passwords at once ---++ Changing User Account Names To change the user's WikiName: * Rename the user profile page in the %USERSWEB% web, such as from =JaneSmith= to =JaneMiller=. * Fix backlinks in the %USERSWEB% web only * Make sure the group topics are updated (if any.) * Edit the [[%USERSWEB%.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:%BR% =%<nop>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 authentication server (e.g. Active Directory) * In TWiki's [[%USERSWEB%.TWikiUsers]] topic, fix the mapping from login name to WikiName:%BR% = * !JaneSmith - jsmith - 13 Sep 2006= %BR% to: %BR% = * !JaneMiller - jmiller - 13 Sep 2006= ---++ Removing User Accounts To remove a user account (<nop>FredQuimby, who logs in as "fred"): 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 <nop>%USERSWEB%.TWikiUsers topic 3 Remove =FredQuimby= from all groups and from all the =ALLOWWEB/ALLOWTOPIC...= declarations, if any.%BR% __Note:__ If you fail to do this you risk creating a security hole, as the next user to register with the wikiname Fred<nop>Quimby will inherit the old Fred<nop>Quimby's permissions. 4 _[optional]_ Delete their user topic %USERSWEB%.<nop>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 <nop>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: <verbatim> cd twiki/templates cp registernotify.tmpl registernotify.myskin.tmpl cp registerconfirm.tmpl registerconfirm.myskin.tmpl cp registernotifyadmin.tmpl registernotifyadmin.myskin.tmpl </verbatim> then add =myskin= to the beginning of the =SKIN= setting in %USERSWEB%.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 =%<nop>INCLUDE%= statement in your customized version. e.g.: <verbatim> 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%" }% </verbatim> __Note:__ The use of %<nop>WIKINAME%, %<nop>FIRSTLASTNAME%, %<nop>EMAILADDRESS% passed in from the INCLUDE so that the topic below is similar to the original template. And then create a topic %NOP%%USERSWEB%.RegisterNotifyEmail: <verbatim> 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% </verbatim> __Note:__ Remember to secure the topic appropriately to prevent attackers from getting emailed sensitive passwords. __%MAKETEXT{"Related topics:"}%__ UserToolsCategory, AdminToolsCategory
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r9
<
r8
<
r7
<
r6
<
r5
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r9 - 2011-06-05
-
TWikiContributor
Log In
or
Register
TWiki Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Prenotazioni esami
Laurea Triennale ...
Laurea Triennale
Algebra
Algoritmi
Introduzione agli algoritmi
Algoritmi 1
Algoritmi 2
Algoritmi per la
visualizzazione
Architetture
Prog. sist. digitali
Architetture 2
Basi di Dati
Basi di Dati 1 Inf.
Basi di Dati 1 T.I.
Basi di Dati (I modulo, A-L)
Basi di Dati (I modulo, M-Z)
Basi di Dati 2
Calcolo
Calcolo differenziale
Calcolo integrale
Calcolo delle Probabilitą
Metodi mat. per l'inf. (ex. Logica)
canale AD
canale PZ
Programmazione
Fond. di Programmazione
Metodologie di Programmazione
Prog. di sistemi multicore
Programmazione 2
AD
EO
PZ
Esercitazioni Prog. 2
Lab. Prog. AD
Lab. Prog. EO
Lab. Prog. 2
Prog. a Oggetti
Reti
Arch. di internet
Lab. di prog. di rete
Programmazione Web
Reti di elaboratori
Sistemi operativi
Sistemi Operativi (12 CFU)
Anni precedenti
Sistemi operativi 1
Sistemi operativi 2
Lab. SO 1
Lab. SO 2
Altri corsi
Automi, Calcolabilitą
e Complessitą
Apprendimento Automatico
Economia Aziendale
Elaborazione Immagini
Fisica 2
Grafica 3D
Informatica Giuridica
Laboratorio di Sistemi Interattivi
Linguaggi di Programmazione 3° anno Matematica
Linguaggi e Compilatori
Sistemi Informativi
Tecniche di Sicurezza dei Sistemi
ACSAI ...
ACSAI
Computer Architectures 1
Programming
Laurea Magistrale ...
Laurea Magistrale
Percorsi di studio
Corsi
Algoritmi Avanzati
Algoritmica
Algoritmi e Strutture Dati
Algoritmi per le reti
Architetture degli elaboratori 3
Architetture avanzate e parallele
Autonomous Networking
Big Data Computing
Business Intelligence
Calcolo Intensivo
Complessitą
Computer Systems and Programming
Concurrent Systems
Crittografia
Elaborazione del Linguaggio Naturale
Estrazione inf. dal web
Fisica 3
Gamification Lab
Information Systems
Ingegneria degli Algoritmi
Interazione Multi Modale
Metodi Formali per il Software
Methods in Computer Science Education: Analysis
Methods in Computer Science Education: Design
Prestazioni dei Sistemi di Rete
Prog. avanzata
Internet of Things
Sistemi Centrali
Reti Wireless
Sistemi Biometrici
Sistemi Distribuiti
Sistemi Informativi Geografici
Sistemi operativi 3
Tecniche di Sicurezza basate sui Linguaggi
Teoria della
Dimostrazione
Verifica del software
Visione artificiale
Attivitą complementari
Biologia Computazionale
Design and development of embedded systems for the Internet of Things
Lego Lab
Logic Programming
Pietre miliari della scienza
Prog. di processori multicore
Sistemi per l'interazione locale e remota
Laboratorio di Cyber-Security
Verifica e Validazione di Software Embedded
Altri Webs ...
Altri Webs
Dottorandi
Commissioni
Comm. Didattica
Comm. Didattica_r
Comm. Dottorato
Comm. Erasmus
Comm. Finanziamenti
Comm. Scientifica
Comm Scientifica_r
Corsi esterni
Sistemi Operativi (Matematica)
Perl e Bioperl
ECDL
Fondamenti 1
(NETTUNO)
Tecniche della Programmazione 1° modulo
(NETTUNO)
Seminars in Artificial Intelligence and Robotics: Natural Language Processing
Informatica generale
Primo canale
Secondo canale
II canale A.A. 10-11
Informatica
Informatica per Statistica
Laboratorio di Strumentazione Elettronica e Informatica
Progetti
Nemo
Quis
Remus
TWiki ...
TWiki
Tutto su TWiki
Users
Main
Sandbox
Home
Site map
AA web
AAP web
ACSAI web
AA2021 web
Programming web
AA2021 web
AN web
ASD web
Algebra web
AL web
AA1112 web
AA1213 web
AA1920 web
AA2021 web
MZ web
AA1112 web
AA1213 web
AA1112 web
AA1314 web
AA1415 web
AA1516 web
AA1617 web
AA1819 web
Old web
Algo_par_dis web
Algoreti web
More...
TWiki Web
User registration
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
InterWikis
ManagingUsers
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Account
Log In
Register User
Questo sito usa cookies, usandolo ne accettate la presenza. (
CookiePolicy
)
Torna al
Dipartimento di Informatica
E
dit
A
ttach
Copyright © 1999-2025 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
.