savannah-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-cvs] administration/docs/hacking_savannah hacking_sa...


From: Sylvain Beucler
Subject: [Savannah-cvs] administration/docs/hacking_savannah hacking_sa...
Date: Thu, 12 Aug 2004 02:30:13 -0400

CVSROOT:        /cvsroot/administration
Module name:    administration
Branch:         
Changes by:     Sylvain Beucler <address@hidden>        04/08/12 06:26:03

Modified files:
        docs/hacking_savannah: hacking_savannah.texi 

Log message:
        Added section on how to rename a user account

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/administration/administration/docs/hacking_savannah/hacking_savannah.texi.diff?tr1=1.18&tr2=1.19&r1=text&r2=text

Patches:
Index: administration/docs/hacking_savannah/hacking_savannah.texi
diff -u administration/docs/hacking_savannah/hacking_savannah.texi:1.18 
administration/docs/hacking_savannah/hacking_savannah.texi:1.19
--- administration/docs/hacking_savannah/hacking_savannah.texi:1.18     Mon Aug 
 9 21:41:03 2004
+++ administration/docs/hacking_savannah/hacking_savannah.texi  Thu Aug 12 
06:26:03 2004
@@ -1,5 +1,5 @@
 \input texinfo   @c -*-texinfo-*-
address@hidden $Id: hacking_savannah.texi,v 1.18 2004/08/09 21:41:03 Beuc Exp $
address@hidden $Id: hacking_savannah.texi,v 1.19 2004/08/12 06:26:03 Beuc Exp $
 @comment %**start of header
 @setfilename hacking_savannah.info
 @include version.texi
@@ -776,6 +776,34 @@
 
 Sylvain
 
+
address@hidden Renaming a user account
+
+[We need to define a policy about whether it is OK to rename accounts. Since 
accounts can be removed and then recreated under a different user name, I guess 
it is OK.]
+
address@hidden
address@hidden MySQL: update user set user_name='newusername' where 
user_name='oldusername' and user_id='user_id';
+
address@hidden File system
+      @itemize
+        @item /etc/passwd (user name and home directory)
+        @item /home/<u>/<us>/<username>
+        @item for each <projectname>
+              @itemize
+                @item /savannah/cvsroot/<projectname>/etc/passwd
+                @item /savannah/cvsroot/<projectname>/etc/group (groups 
<projectname> and web<projectname>)
+              @end itemize
+      @end itemize
address@hidden itemize
+
+If the user is part of the www.gnu.org project, you should have to
+modify each CVS root. However, sv_users/sv_groups should be doing that
+for you (to test).
+
+You could also change the projects CVS files to change the user name
+associated with each change. Not sure we should do so, especially if
+the user name is so much different.
+
 @section Impersonating somebody
 
 Change the savannah password using MySQL.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]