MacBook Air Change the username in MacOs terminal

Diskutiere, Change the username in MacOs terminal in MacBook Forum forum; Hello! I wanted to change the username in my terminal on a MacBook Air. I went to the Settings -...
I
i.
User
  • Change the username in MacOs terminal
  • #1
Hello! I wanted to change the username in my terminal on a MacBook Air. I went to the Settings - Users and groups - then I selected the Admin User and clicked on the advanced settings. There I saw a line, that said “User Folder” and I changed it only the words after the “/Users/” line. Then I clicked on the “Done” button and I got a pop up notification that said to me: “Please reload your computer”. I reloaded it, and the computer drive is now empty. I have no more files, passwords and even the documents that I had on my computer. Can I return it?

Thank you very much!

Ihor


 
A
Shona

Lösungsvorschläge

Hey,

Praktische Ratschläge und Lösungen zu deinem Problem:
  • Change the username in MacOs terminal
  • #2
Guten Abend, L: ihor290,

vielen Dank, dass Du Dein Anliegen hier teilst. Wenn ich Dich richtig verstanden habe, sieht es so aus, als wären Deine Daten verschwunden. In Wirklichkeit liegen sie sehr wahrscheinlich noch im ursprünglichen Benutzerordner und sind nur nicht mehr mit Deinem Account verknüpft.

Am einfachsten schaust Du im Finder unter „Benutzer“, ob Dein alter Ordner noch vorhanden ist. Dort solltest Du Deine Dateien finden. Falls nötig, kannst Du in den Einstellungen auch wieder den ursprünglichen Pfad eintragen. Falls etwas fehlen sollte, helfen Time Machine oder iCloud bei der Wiederherstellung.

Es ist gut zu wissen, dass Änderungen in den erweiterten Benutzereinstellungen riskant sind. Apple empfiehlt dafür die offizielle Anleitung:

Den Namen deines macOS-Benutzeraccounts und Benutzerordners ändern - Apple Support (DE)

Ich hoffe, das bringt Dir schnell Sicherheit und Klarheit.

Beste Grüße & viel Erfolg!
 
  • Change the username in MacOs terminal
  • #3
Good morning, ihor290,

Thank you for sharing your concern here. If I understood you correctly, it may look as though your data has disappeared, but in reality it’s very likely still in your original user folder – it’s just no longer linked to your account.

The easiest way to check is by opening Finder and looking under “Users” to see if your old folder is still there. You should find your files inside. If necessary, you can also reset the path in the settings to point back to that folder. And if anything seems to be missing, Time Machine or iCloud can help you restore it.

It’s important to keep in mind that changing advanced user settings can be risky. For this, Apple recommends using the official guide:

Change the name of your macOS user account and home folder - Apple Support

I hope this brings you some quick clarity and peace of mind.

Best regards, and good luck!
 
  • Change the username in MacOs terminal
  • #4
Du hast nur den Pfadnamen deines Admin-Profils geändert. Den neuen Pfad gibt es allerdings auf deinem Mac nicht. Also endet ein Systemstart im Nirvana….

Falls du ein aktuelles Backup hast, würde ich dir raten, den Mac zurückzusetzen und aus dem Backup wiederherzustellen.

Einen anderen Weg kenne ich nicht.
 
  • Change the username in MacOs terminal
  • #5
PreCognition schrieb:

[..].

Am einfachsten schaust Du im Finder unter „Benutzer“, ob Dein alter Ordner noch vorhanden ist. Dort solltest Du Deine Dateien finden. Falls nötig, kannst Du in den Einstellungen auch wieder den ursprünglichen Pfad eintragen.
Funktioniert das überhaupt ? Er hat - wenn der Pfadname geändert wurde - mMn keinen Zugriff mehr auf das entsprechende Userverzeichnis. Mir ist vor vielen Jahren einmal etwas ähnliches passiert, als ich den Usernamen eines Adminkontos geändert hatte. Den Mac musste ich neu aufsetzen (zum Glück war es ein neuer).

Es ist gut zu wissen, dass Änderungen in den erweiterten Benutzereinstellungen riskant sind.
Ja, auf jeden Fall. s.o.
 
  • Change the username in MacOs terminal
  • #6
Hello. Thank you for participating in the Apple Support Community. If you speak English, we also have an English Community. Please feel free to join and ask a question!
 
Thema: Change the username in MacOs terminal

Similar threads: Change the username in MacOs terminal

Hello, I have €0.01 remaining in my Apple ID balance. I want to change my region but I cannot because of the remaining balance. Could you ...: Hello, I have €0.01 remaining in my Apple ID balance. I want to change my region but I cannot because of the remaining balance. Could you please...

Change the region in app store

in iPhone Allgemein
Change the region in app store: I still have $0.01 left in my account but I need to change the region. How do I reset the money from my account? 256219874
How Does the "Find My iPhone" Mechanism Change When "Lost Mode" Is Activated?: My phone was stolen, and initially, I was able to track it using the "Find My" app on my Mac. However, the connection was lost, and the location...
I would like to change the card for paying for the iPhone: Good day , my name is Evelina There was such a problem that my bank does not support this payment and I would like to change the bank to pay for...
Withdraw money from the account to change the region: Здравствуйте можетк пожалуйста снять деньги с app store [Betreff vom Moderator bearbeitet] 254932494
How to change the language of the Apple TV+ website: how to change the language of apple tv+ website? I'm in Switzerland and it's by default in German, but Switzerland is also a french speaking...
Zurück
Oben