LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-31-2019, 09:02 AM   #1
dwhb
Member
 
Registered: Jul 2012
Location: Down Under
Distribution: Mint 19 Tara
Posts: 138

Rep: Reputation: Disabled
Change user name Mint 19.2 Cinnamon


Hi
I am passing on a NUCi5 to my sister but can't seem to change the username I used when I installed for myself to my sister's name. If I add her as another user with same administrative privilege, I can delete myself but all my settings which I want to keep for her is lost.

Password can be changed, but I can't figure out how to change my name to hers. Only a single user is what I would like to be able to achieve.

Any help would be appreciated. Thanks so much in advance.
 
Old 08-31-2019, 10:55 AM   #2
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
man usermod

Quote:
-l, --login NEW_LOGIN
The name of the user will be changed from LOGIN to NEW_LOGIN. Nothing else is changed. In particular, the user's home directory or
mail spool should probably be renamed manually to reflect the new login name.

-d, --home HOME_DIR
The user's new login directory.

If the -m option is given, the contents of the current home directory will be moved to the new home directory, which is created if
it does not already exist.


note it is a small L


read through teh whole manpage, it is not too long
 
Old 08-31-2019, 10:59 AM   #3
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
you might have to do this from another account

login as root ( if you can )
or create a new user ( with sudo access ), login , do the usermod then logout and delete the new user you created.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session." xxxindigo Linux Mint 22 09-01-2019 09:21 AM
php5-ming repository Boongo SUSE / openSUSE 0 04-03-2007 06:33 AM
installing ming with python support on suse 9.0 xenithi Programming 0 01-17-2005 10:34 PM
Trying to install ming for use with PHP kingfisher Linux - Newbie 1 01-06-2005 05:01 AM
problems compiling ming for php suprabeener Linux - Newbie 4 10-31-2001 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration