cambiare nome utente su openbox
cambiare nome utente su openbox
Ciao, ho inserito un nome utente errato, come posso modificarlo? Grazie.
- JackPulde
- Scoppiettante Seguace
- Messaggi: 947
- Iscrizione: martedì 27 marzo 2012, 20:23
- Desktop: GNOME Shell 3.36.1
- Distribuzione: Ubuntu 20.04 LTS
Re: cambiare nome utente
Ciao, vai su Impostazioni di sistema/Account Utente, poi sblocchi "il lucchetto" in alto a destra e modifichi il nome
Notebook - Dell XPS 13 9360
Re: cambiare nome utente
Da terminale? Visto che non ho gnome ma openbox?
- JackPulde
- Scoppiettante Seguace
- Messaggi: 947
- Iscrizione: martedì 27 marzo 2012, 20:23
- Desktop: GNOME Shell 3.36.1
- Distribuzione: Ubuntu 20.04 LTS
Re: cambiare nome utente
La prossima volta è meglio specificare se si usa un DE o WM particolare
Comunque da terminale
Comunque da terminale
Codice: Seleziona tutto
usermod -l NuovoNomeUtente VecchioNomeUtente
Notebook - Dell XPS 13 9360
Re: cambiare nome utente
Ok grazie, ma il comando cambia anche il nome della cartella home?
- JackPulde
- Scoppiettante Seguace
- Messaggi: 947
- Iscrizione: martedì 27 marzo 2012, 20:23
- Desktop: GNOME Shell 3.36.1
- Distribuzione: Ubuntu 20.04 LTS
Re: cambiare nome utente
No, per cambiare il nome della cartella home...
Codice: Seleziona tutto
usermod -d /home/NuovoNome -m IlNomeDelNuovoUsername
Notebook - Dell XPS 13 9360
Re: cambiare nome utente
sudo usermod -l kevin gobang
[sudo] password for gobang:
usermod: user gobang is currently used by process 1145
[sudo] password for gobang:
usermod: user gobang is currently used by process 1145
- JackPulde
- Scoppiettante Seguace
- Messaggi: 947
- Iscrizione: martedì 27 marzo 2012, 20:23
- Desktop: GNOME Shell 3.36.1
- Distribuzione: Ubuntu 20.04 LTS
Re: cambiare nome utente
Fonte: http://askubuntu.com/questions/34074/ho ... y-username
Prova ad utilizzare questo metodo allora
Prova ad utilizzare questo metodo allora
To put it all together:
Attenzione: fatti una foto o scrivi giù il procedimento, perchè uscirai dal DE/WM e vedrai solo righe di comando.
At the start screen press.Codice: Seleziona tutto
Ctrl+ALT+F1
Log in using your username and password.
Set a password for the "root" account.Log out.Codice: Seleziona tutto
sudo passwd root
Log in using the "root" account and the password you have previously set.Codice: Seleziona tutto
exit
Change the username and the home folder to the new name that you want.Change the group name to the new name that you want.Codice: Seleziona tutto
usermod -l <newname> -d /home/<newname> -m <oldname>
Lock the "root" account.Codice: Seleziona tutto
groupmod -n <newgroup> <oldgroup>
If you were using ecryptfs (encrypted home directory). Mount your encrypted directory usingCodice: Seleziona tutto
passwd -l root
and editCodice: Seleziona tutto
ecryptfs-recover-private
to reflect your new home directory.Codice: Seleziona tutto
<mountpoint>/.ecryptfs/Private.mnt
Log out.pressCodice: Seleziona tutto
exit
.Codice: Seleziona tutto
Ctrl+ALT+F7
And now you can log in using your new username.
Notebook - Dell XPS 13 9360
- Mdfalcubo
- Moderatore Globale
- Messaggi: 20415
- Iscrizione: venerdì 26 dicembre 2008, 11:17
- Desktop: Solo XFCE
- Distribuzione: Xubuntu 64 bit
- Sesso: Maschile
Re: cambiare nome utente
Sposto in altri ambienti grafici.
"Il genere umano è stimolante, è la gente che non sopporto,, (Linus - Peanuts)
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 9 ospiti