Тёмный

How to change username in Ubuntu 22.04 

Abstract programmer
Подписаться 16 тыс.
Просмотров 49 тыс.
50% 1

Опубликовано:

 

15 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 75   
@MacMcClellan-squoggle
@MacMcClellan-squoggle 2 года назад
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.
@andynl6443
@andynl6443 Год назад
Correct. Also housekeeping: $ cd /home and $ sudo rm -r temporaryuserfolder
@haremprotagonist1118
@haremprotagonist1118 Год назад
I haven't did this, now will it have any effect in my daily usage?
@tex24
@tex24 2 месяца назад
Exactly! Thanks for the additional details!
@zeinabashjaei3302
@zeinabashjaei3302 10 месяцев назад
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
@Whoknowsthatman
@Whoknowsthatman 10 месяцев назад
Did you follow every step?
@zeinabashjaei3302
@zeinabashjaei3302 10 месяцев назад
@@Whoknowsthatman yes I did
@Reaper19000
@Reaper19000 5 месяцев назад
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...
@tesit8160
@tesit8160 2 года назад
Thanks a lot, I had almost lost the video while switching to a new user .... Worked fine for me !
@absprog
@absprog Год назад
You're welcome!
@jean-eudesamoussou2185
@jean-eudesamoussou2185 Год назад
Clear, precise, concise. Thank you very much for this tutorial
@absprog
@absprog Год назад
I'm happy to hear that the video was clear and to the point. Thanks for watching and leaving a comment Jean-Eudes 👍
@vigneshbalaji21
@vigneshbalaji21 7 месяцев назад
Very useful and informative in a step by step manner. Awesome :)
@absprog
@absprog 7 месяцев назад
Thanks Vignesh for your support and kind words!👍
@albrettnell
@albrettnell 10 месяцев назад
Excellent tutorial - I also like that you explained what the options do. Very helpful.
@absprog
@absprog 10 месяцев назад
Thanks for your support and kind words!
@wouivu
@wouivu 10 месяцев назад
Thank you so much! Best tutorial ever watched! Clear and informative!
@absprog
@absprog 10 месяцев назад
Thanks for your support and kind words!👍
@leranma8626
@leranma8626 7 месяцев назад
Great video! Works perfectly on my Ubuntu 20.04!!!
@absprog
@absprog 7 месяцев назад
Thank you for your feedback!👍
@davidisrael5627
@davidisrael5627 2 года назад
I LOVE YOU!! It worked perfectly this was the quickest and best user-friendly video I found on the subject yet, I subscribed. !עם ישראל חי
@absprog
@absprog 2 года назад
Thanks a lot! Glad it helped!
@JustMyTwoCentz
@JustMyTwoCentz 2 года назад
Thanks so much ! This is the best tutorial i ever watched, on anything, period. Thank you !
@absprog
@absprog 2 года назад
😂 thanks a lot!
@elvykamunyokomanunebo1441
@elvykamunyokomanunebo1441 Год назад
thanks pal, you've earned a rocket point from me :)
@absprog
@absprog Год назад
😊
@FWDSKILLZONE
@FWDSKILLZONE Год назад
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?
@thatthila
@thatthila 2 месяца назад
thank you for sharing this ^^
@bonOhm
@bonOhm 3 месяца назад
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.
@HeyFaheem
@HeyFaheem 2 месяца назад
Just type `sudo groupmod -n newgroupname oldgroupname` This should change the group ownership (gid) as well
@АндрейТоцкий-л4и
@АндрейТоцкий-л4и 8 месяцев назад
Thank You! Great explanation!!!
@absprog
@absprog 8 месяцев назад
Glad it was helpful!👍
@francesco5007
@francesco5007 9 месяцев назад
That was very helpful! Thanks a lot! One more question: how can I change also what comes after the @?
@francesco5007
@francesco5007 9 месяцев назад
fixed it 😃
@absprog
@absprog 9 месяцев назад
Thanks for your support👍
@absprog
@absprog 9 месяцев назад
👍
@ПавелВоробьёв-ю2ы
You are the best, seriously! keep it, please!
@absprog
@absprog Год назад
Wow, thank you! 😊
@VuDucBi
@VuDucBi 11 месяцев назад
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 :))
@tex24
@tex24 2 месяца назад
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
@arkhamian7586
@arkhamian7586 2 года назад
Worked for me. Thank you!
@southernexposure123
@southernexposure123 Год назад
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.
@L_37
@L_37 11 месяцев назад
It worked! Thank you!
@absprog
@absprog 11 месяцев назад
That's great to hear👍
@keydyusufmohamed7321
@keydyusufmohamed7321 Год назад
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
@LuisVivas-n4f
@LuisVivas-n4f Год назад
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.
@Nobody_114
@Nobody_114 2 года назад
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?
@absprog
@absprog 2 года назад
Sure, just did it
@web3noobie
@web3noobie Год назад
Matan never disappoints. Bro you are THE BEST
@absprog
@absprog Год назад
Wow, thank you for that. You made my day 🤝
@ashakulislam3870
@ashakulislam3870 Год назад
Getting this error while adding temp user to the sudo group temp is not in the sudoers file. This incident will be reported.
@idnyxf3r130
@idnyxf3r130 9 месяцев назад
Me funcionó gracias
@absprog
@absprog 9 месяцев назад
Es genial escuchar eso👍
@makakolemafane9933
@makakolemafane9933 10 месяцев назад
Nice one!
@absprog
@absprog 9 месяцев назад
Thanks!👍
@RamiEb-kt7zf
@RamiEb-kt7zf 8 месяцев назад
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 ?
@WiggleByte3.0
@WiggleByte3.0 7 месяцев назад
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
@Ultima.14
@Ultima.14 Год назад
Hey I did this and now it asks me a password but I didn't have one before...
@StartBuilding
@StartBuilding Год назад
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
@StartBuilding
@StartBuilding Год назад
Can i get a help plssss
@rsp8144
@rsp8144 Год назад
its terrifying how to get our username i can not do anything showing error
@Wael_Fakhri
@Wael_Fakhri Год назад
thanks a lot , working fine 👍👍👍👍👍
@absprog
@absprog 11 месяцев назад
That's great to hear 🤗
@adzplus1
@adzplus1 Год назад
Thank you so much!
@absprog
@absprog Год назад
You're welcome!
@profissionaldavozb
@profissionaldavozb Год назад
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
@absprog
@absprog Год назад
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.
@profissionaldavozb
@profissionaldavozb Год назад
@@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 !
@CallMeNix1337
@CallMeNix1337 Год назад
thank you bro
@absprog
@absprog Год назад
You're welcome!
@emilianol.3017
@emilianol.3017 Год назад
Genius
@absprog
@absprog Год назад
🤗
@Atlas20008
@Atlas20008 5 месяцев назад
Don't try to play it smart and edit it from the text file I tried it and I fucked up😂😅
@epharedam
@epharedam Год назад
Tysmmm
@absprog
@absprog Год назад
You're welcome! 👍
Далее
Change Linux Username & Hostname
4:13
Просмотров 84 тыс.
The Linux Experience
31:00
Просмотров 971 тыс.
Каха и жена (недопонимание)
00:37
World’s Tallest Man VS Shortest Woman!
15:07
Просмотров 16 млн
Write Your Own Bash Scripts for Automation [Tutorial]
16:35
60 Linux Commands you NEED to know (in 10 minutes)
10:50
The Linux Tier List
27:34
Просмотров 1,1 млн
Stop using APT
9:56
Просмотров 520 тыс.
Richard Stallman Talks About Ubuntu
6:10
Просмотров 1,4 млн
Linux New User Guide: 10 Things I Wish I Knew
23:31
Просмотров 458 тыс.
Fedora vs Debian and Arch Linux
17:32
Просмотров 516 тыс.
Top 10 Linux Job Interview Questions
16:04
Просмотров 2,3 млн
Каха и жена (недопонимание)
00:37