Changing User Name


killall -u old
id old
usermod -l new old
groupmod -n new old
mv /home/old /home/new
usermod -d /home/new -m new
usermod -c “New Real Name” new
id new

The above could easily be made into a script. Make sure the incoming mail server is updated for that local-part.


Top Page wiki Index

Disclaimer

This information may have errors; It is not permissible to be read by anyone who has ever met a lawyer.
Use is confined to Engineers with more than 370 course hours of electronic engineering for theoretical studies.
ph +1(785) 841-3089

Email inform@xtronics.com

(C) Copyright 1994-2017, Transtronics, Inc. All rights reserved
Transtronics® is a registered trademark of Transtronics, Inc.
All trademarks are the property of their respective owners.