Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Dirty Tools
(view source)
Revision as of 12:42, 12 August 2007
620 bytes added
,
12:42, 12 August 2007
→dt-rename-account
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 ====
Mweinber
501
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version