Results 1 to 4 of 4

Thread: Change username in Control Panel of Linux Mint 10

  1. #1
    Join Date
    Oct 2010
    Posts
    54

    Change username in Control Panel of Linux Mint 10

    I am a newbie to Linux operating systems and I want have something weird on this operating system. Actually the username that I have on my User Control Panel is not suitable to me. I want to change it but I am not able to do so. Can you guys tell me that how to change the username of the Control Panel? I am running Linux Mint 10 Julia.

  2. #2
    Join Date
    Apr 2009
    Posts
    994

    Re: Change username in Control Panel of Linux Mint 10

    In order to change the username on your Linux Mint machine, You need to use the usermod command. It would be modifying the system account files for reflecting the changes in the command. Use the following command.

    Code:
    usermod -l login-name old-name
    After using this command, Username will gets changes from old-name to the login-name. But user's home directory name should probably be changed to reflect the new login name.

  3. #3
    Join Date
    May 2008
    Posts
    962

    Re: Change username in Control Panel of Linux Mint 10

    Usermod will not allow you to change the name of a user who is currently connected. You must ensure that the user named not trying to run any program when this command is executed if the user's numeric UID is changed. You must change yourself the owner of all crontab files and at jobs. You must complete all changes involving NIS on the NIS server.

  4. #4
    Join Date
    Nov 2009
    Posts
    687

    Re: Change username in Control Panel of Linux Mint 10

    The usermod command modifies the system account files to reflect the changes that were specified on the command line. The options which apply to the usermod command are:

    • -L-name : The name of the user will login to connection_name. Nothing else is changed. In particular, the directory of the user will probably be changed to reflect the new login name.
    • -P password : The encrypted password, as returned by crypt.
    • -S shell : The name of the new login shell of the user. If shell is not provided, the system will select the default login shell.
    • -U uid --- : The numerical value of the ID of the user. This value must be unique, unless the-o option is used. The value must be non-negative. Values between 0 and 99 are typically reserved for system accounts. All files owned by the user are located in sub-directory tree with the directory as the root user will have their user ID changed automatically. Files located outside the user's home directory must be changed manually.
    • -L : Lock the password of a user. This option adds a '! "Before the encrypted password, effectively disabling the password. You can not use this option with-p or-U.
    • -U : Unlock the password of a user. This removes the '! "In front of the encrypted password. You can not use this option with-p or-L.

Similar Threads

  1. How to change admin username in Linux mint
    By Atmanand in forum Operating Systems
    Replies: 5
    Last Post: 17-01-2011, 10:18 PM
  2. Change shell variable on Linux mint
    By Athreya in forum Operating Systems
    Replies: 3
    Last Post: 11-01-2011, 07:55 PM
  3. Linux Mint 10 Julia Notification not adding on panel
    By UselessGuy in forum Operating Systems
    Replies: 4
    Last Post: 11-01-2011, 08:42 AM
  4. How to change control panel language?
    By Fontaine in forum Operating Systems
    Replies: 4
    Last Post: 21-05-2010, 04:51 PM
  5. How to change xp control panel boot order
    By Lauren Bacall in forum Operating Systems
    Replies: 4
    Last Post: 10-07-2009, 07:27 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,048,193.73925 seconds with 17 queries