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


4 Responses to “Change User Name on Linux”

  1. George
    September 27th, 2009 08:59
    4

    Your posts are the best! Always helpful!

  2. 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

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

    Sorry about the mistake. Article will be changed.

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

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 to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

linux change username - linux change user - linux username - linux change user name - change user name linux - change username linux - change username in linux - how to modify user name account linux - how to change user name in linux - linux change full name - freebsd change username - gentoo change username - change user linux - change user name freebsd - linux change login - linux change name - linux changing username - modify username in linux - change user name in linux - linux change login user - change name linux - changing user name in linux - how to change username in linux - change username name in linux - changing usernames on linux - change name to linux - change user logon linux - change linux login - hidden user linux - how to modify username account linux - adding linux login name - changing login linux - change linux name - change user name and password on linux - how to change username in Gentoo - LINUX HOW TO CHANGE THE USERNAME - login change linux - modify users name linux - user in linux by name search - changing the username linux - changing username on linux - how to change user name for a process linux - linux modify user fullname - linux "own user" - linux change user email - linux change name - login into linux without prompting for username - modif login + linux - change user name - How Can I Change My Login Password On Linux -