This is a good start, but you end up with your home directory and all subdirectories group owned as OldUserName. You need to something like this while logged in as the temporary user: $ sudo groupmod -n newGroupName oldGroupName That will fix up the group ownership as well.
User is changed but it destroyed my os completely. I lost all my settings, configurations, appearance,... non of my applications could be opened now. Thank you
A couple of things after doing all the steps in the video: In Files app, under Ubuntu, home, the folder from the tempuser was still there. To delete it: sudo rm -r /home/tempuser (or whatever your temp user is called). Another thing, if you type: id in terminal it would show you that gid and groups are still under the old username.
OK, but what about the group? How do you change the group membership to new-name so that you have the same group name as username? Your approach here changes the user name, but the group name is the old username
Short and to-the-point tutorial! Many thanks Sir! Quick question, after renaming the username and account name, now the account name, under the Ubuntu login page, shows "not listed?". What does that indicate?
It's been a few years since I used my Linux computer. I don't know my user name and I don't know my password. To change each one I need to know the other. I thinbk I'll go back to Windows on myb Linux machine. I now have a Windows machine. I'll now record all my information in a document onevery machine I use.
Well i think this is only suitable for new user. Everything is perfect, except for when i rebooted back to the user that i need to change it's name. Everything else (Application/OS dir) is rotten. Well in my case, i quickly change back the old user name and everything get back to normal. IMO, I think the username_change is far more risky and require more knowledge to do it correctly since thing in /etc/ or like variables might be changed as well. But thanks anyway, almost make my OS to garbage :))
I created a different user called temporal and login in this temporal user. I tried to change it and got this error. usermod: user azureuser is currently used by process 89786. The same as when I try to do it when I was logged.
So i made a mistake and typed in a command 'sudo su' and proceeded to input in my password word. Now the problem is after, i deleted one i dont know if its file or what and ever since all i see is like a reset Ubuntu but i still have all my applications here and the settings i did are all gone as well
HI Matan I do the same procedure you showed in the video. but lately I have this error after I issue the command "sudo usermod -l newname oldname . usermod: user oldname is currently used by process every time i got different ps number. any idea why ?
Write this command in temporary user Sudo pkill -u old username Then again write that command in temporary user sudo usermod -l new username -m -d /home/new username old username
I changed the username but I didn't create the new user before and now I can't log in, can you help me? I did it wrong and now I'm desperate and can't use my laptop
Try using the cli. Ctrl + F7. It will take you out of the GUI interface. Then log in with your password. Once you’re logged in, runs sudo -s to change user to root.
Thank you so much for making this video. Could you please paste the commands in the description so dumb Linux users like me can cut and paste the commands without making any mistakes?
This is a good start, but you end up with your home directory and all subdirectories group owned as OldUserName. You need to something like this while logged in as the temporary user:
$ sudo groupmod -n newGroupName oldGroupName
That will fix up the group ownership as well.
Correct. Also housekeeping: $ cd /home and $ sudo rm -r temporaryuserfolder
I haven't did this, now will it have any effect in my daily usage?
Exactly! Thanks for the additional details!
User is changed but it destroyed my os completely. I lost all my settings, configurations, appearance,... non of my applications could be opened now. Thank you
Did you follow every step?
@@Whoknowsthatman yes I did
I encountered the same issue! Lost all my data and now I can't even log back into my account. Should have backed up my home directory...
Thanks a lot, I had almost lost the video while switching to a new user .... Worked fine for me !
You're welcome!
Clear, precise, concise. Thank you very much for this tutorial
I'm happy to hear that the video was clear and to the point. Thanks for watching and leaving a comment Jean-Eudes 👍
A couple of things after doing all the steps in the video:
In Files app, under Ubuntu, home, the folder from the tempuser was still there. To delete it:
sudo rm -r /home/tempuser (or whatever your temp user is called).
Another thing, if you type: id in terminal it would show you that gid and groups are still under the old username.
Just type `sudo groupmod -n newgroupname oldgroupname`
This should change the group ownership (gid) as well
Excellent tutorial - I also like that you explained what the options do. Very helpful.
Thanks for your support and kind words!
Very useful and informative in a step by step manner. Awesome :)
Thanks Vignesh for your support and kind words!👍
Thank you so much! Best tutorial ever watched! Clear and informative!
Thanks for your support and kind words!👍
I LOVE YOU!! It worked perfectly this was the quickest and best user-friendly video I found on the subject yet, I subscribed. !עם ישראל חי
Thanks a lot! Glad it helped!
Great video! Works perfectly on my Ubuntu 20.04!!!
Thank you for your feedback!👍
Thanks so much ! This is the best tutorial i ever watched, on anything, period. Thank you !
😂 thanks a lot!
OK, but what about the group? How do you change the group membership to new-name so that you have the same group name as username? Your approach here changes the user name, but the group name is the old username
Short and to-the-point tutorial! Many thanks Sir! Quick question, after renaming the username and account name, now the account name, under the Ubuntu login page, shows "not listed?". What does that indicate?
It's been a few years since I used my Linux computer. I don't know my user name and I don't know my password. To change each one I need to know the other. I thinbk I'll go back to Windows on myb Linux machine.
I now have a Windows machine. I'll now record all my information in a document onevery machine I use.
Well i think this is only suitable for new user.
Everything is perfect, except for when i rebooted back to the user that i need to change it's name. Everything else (Application/OS dir) is rotten. Well in my case, i quickly change back the old user name and everything get back to normal. IMO, I think the username_change is far more risky and require more knowledge to do it correctly since thing in /etc/ or like variables might be changed as well. But thanks anyway, almost make my OS to garbage :))
I created a different user called temporal and login in this temporal user. I tried to change it and got this error. usermod: user azureuser is currently used by process 89786. The same as when I try to do it when I was logged.
That was very helpful! Thanks a lot! One more question: how can I change also what comes after the @?
fixed it 😃
Thanks for your support👍
👍
thank you for sharing this ^^
thanks pal, you've earned a rocket point from me
:)
😊
Hi...thanks a lot for the tutorial!! Now could you please help me to customize the icon-theme-name on the login screen? thank you
You are the best, seriously! keep it, please!
Wow, thank you! 😊
So i made a mistake and typed in a command 'sudo su' and proceeded to input in my password word.
Now the problem is after, i deleted one i dont know if its file or what and ever since all i see is like a reset Ubuntu but i still have all my applications here and the settings i did are all gone as well
Can i get a help plssss
Thank You! Great explanation!!!
Glad it was helpful!👍
HI Matan
I do the same procedure you showed in the video.
but lately I have this error after I issue the command "sudo usermod -l newname oldname .
usermod: user oldname is currently used by process
every time i got different ps number.
any idea why ?
Write this command in temporary user Sudo pkill -u old username
Then again write that command in temporary user sudo usermod -l new username -m -d /home/new username old username
Worked for me. Thank you!
I changed the username but I didn't create the new user before and now I can't log in, can you help me? I did it wrong and now I'm desperate and can't use my laptop
Try using the cli. Ctrl + F7. It will take you out of the GUI interface. Then log in with your password. Once you’re logged in, runs sudo -s to change user to root.
@@absprog Do you know how I can restore it to factory settings via BIOS since I can't log in? Is there a video teaching this? Please !
Thank you so much for making this video. Could you please paste the commands in the description so dumb Linux users like me can cut and paste the commands without making any mistakes?
Sure, just did it
Hey I did this and now it asks me a password but I didn't have one before...
its terrifying how to get our username i can not do anything showing error
It worked! Thank you!
That's great to hear👍
Getting this error while adding temp user to the sudo group
temp is not in the sudoers file. This incident will be reported.
Me funcionó gracias
Es genial escuchar eso👍
thanks a lot , working fine 👍👍👍👍👍
That's great to hear 🤗
Nice one!
Thanks!👍
Thank you so much!
You're welcome!
Matan never disappoints.
Bro you are THE BEST
Wow, thank you for that. You made my day 🤝
Don't try to play it smart and edit it from the text file I tried it and I fucked up😂😅
thank you bro
You're welcome!
Genius
🤗
Tysmmm
You're welcome! 👍