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

Share and contribute or get technical support and help at My Digital Life Forums.



3 Responses to “Change User Name on Linux”

  1. josk
    January 31st, 2008 03:58
    1

    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!)

  2. admin
    January 31st, 2008 10:35
    2

    Sorry about the mistake. Article will be changed.

  3. al_zoony
    February 2nd, 2008 13:23
    3

    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

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

linux change username - change user linux - linux change user - change user in linux - change username in linux - change user name linux - how to change user in linux - linux change user name - change username linux - gentoo change username - forgot linux username - changing username in linux - linux changeuser - linux - change user name - change name linux - change your username linux - gentoo change user name - changing user in linux - changeuser linux - gentoo change machine name - BSD how to change user name - change linux username - user name linux - linux change a username - linux user name - changing username linux - gentoo change user - linux change login existing account - how to change user name in linux - linux change login - change login name linux - change user email address linux - new username linux - linux usernamen ändern - freebsd "change user login" - linux user names - linux change user name root - BSD change login name - changing username + linux - how to change user name and password in linux? - how to change login name and password+linux - linux change username of existing user - MythTV na srpskom - change suse login name - changing name on account - change user name linux command - change user in linux without prompting a password - find user name linux - how to change linux username -