Change User Name on Linux
User name is utmost important in Linux operating system. Unlike Windows XP and Vista series of consumer oriented OS which sometimes allows single user to automatically log on to desktop without prompting for user name and password, Linux doesn’t come with this convenient (KDE apparently can). Each user must type his or her own user name and password before able to login into shell or desktop.
If you feel that your user name is not attractive enough, or boring or your taste and experience has changed since the user name was first created, use the following command to change the user name in Linux.
usermod -l new login name old login name
Replace new login name with the new user name you want to use in future, and old login name with the existing username to change.
For NIS accounts, additional commands is required to maintain a proper copy of user account across computer network. Run the following commands:
cd /var/yp
make
Related Articles
- Reset and Change Windows NT/2000 Administrator or User Password with chntpw in Linux
- Change Oracle Database User Password
- Change Group Ownership of Symbolic Links in Unix or Linux
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux
- Change and Reset MySQL root Password
- How to Emulate iPhone (Change User Agent) in Safari and Firefox Web Browser
- How to Create Hidden User Account (Hide User Account from Welcome Screen) in Windows
- Disable Direct Root Login and User Access via SSH to Server
- How to Get Linux Server Sends Email Alert on Root Login










































September 27th, 2009 08:59
Your posts are the best! Always helpful!
February 2nd, 2008 13:23
Well, it is not kde but rather xdm which is part of the X Windows system. Here is a link that explains the process on a FreeBSD box rather than Linux:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html
A really cool trick for this might be useful is if you have a tv card running mythtv. Here is a link on on technique to achieve this on Gentoo Linux:
http://gentoo-wiki.com/HOWTO_Setup_MythTV#KDM
January 31st, 2008 10:35
Sorry about the mistake. Article will be changed.
January 31st, 2008 03:58
Bullshit! You are able to automatically log on to linux desktop without prompting for user name and password. There is KDE settings that you need just modify to enable auto login. At least this is working with KDE desktop and KDM login manager.
Open control center application > System administration > Login manager (and just change the settings!)