Changes

Jump to navigation Jump to search
620 bytes added ,  13:42, 12 August 2007
Line 12: Line 12:  
=== Scripts===
 
=== Scripts===
 
==== dt-rename-account ====
 
==== dt-rename-account ====
 +
'''Synopsis'''<br>
 +
<code>dt-rename-account OLD_ACCCOUNT NEW_ACCOUNT</code><br>
 +
 +
'''Description'''<br>
 +
The script does the following:
 +
# checks the new account name for maximum length and bad characters
 +
# checks whether the new account already exists
 +
# renames the account record key in the accounts database
 +
# renames all occurrences of account name in pseudonym und group records in the accounts database
 +
# renames the account in /etc/samba/smbpasswd
 +
# renames the account in /etc/passwd and /etc/shadow
 +
# renames the home directory path in /etc/passwd
 +
# renames the account in /etc/group
 +
# renames the home directory
 +
 
==== dt-passwords-sync ====
 
==== dt-passwords-sync ====
 
==== dt-datasync ====
 
==== dt-datasync ====
501

edits

Navigation menu