cambiare nome utente su openbox

Configurazione e uso di desktop e window manager alternativi, quali Enlightenment (E17), FVWM, Fluxbox, OpenBox e altri.
Avatar utente
0day
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 540
Iscrizione: mercoledì 7 novembre 2007, 23:29

cambiare nome utente su openbox

Messaggio da 0day »

Ciao, ho inserito un nome utente errato, come posso modificarlo? Grazie.
Avatar utente
JackPulde
Scoppiettante Seguace
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

Messaggio da JackPulde »

Ciao, vai su Impostazioni di sistema/Account Utente, poi sblocchi "il lucchetto" in alto a destra :D e modifichi il nome :)
Notebook - Dell XPS 13 9360
Avatar utente
0day
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 540
Iscrizione: mercoledì 7 novembre 2007, 23:29

Re: cambiare nome utente

Messaggio da 0day »

Da terminale? Visto che non ho gnome ma openbox?
Avatar utente
JackPulde
Scoppiettante Seguace
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

Messaggio da JackPulde »

La prossima volta è meglio specificare se si usa un DE o WM particolare ;)

Comunque da terminale

Codice: Seleziona tutto

usermod -l NuovoNomeUtente VecchioNomeUtente
Notebook - Dell XPS 13 9360
Avatar utente
0day
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 540
Iscrizione: mercoledì 7 novembre 2007, 23:29

Re: cambiare nome utente

Messaggio da 0day »

Ok grazie, ma il comando cambia anche il nome della cartella home?
Avatar utente
JackPulde
Scoppiettante Seguace
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

Messaggio da JackPulde »

No, per cambiare il nome della cartella home...

Codice: Seleziona tutto

usermod -d /home/NuovoNome -m IlNomeDelNuovoUsername
Notebook - Dell XPS 13 9360
Avatar utente
0day
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 540
Iscrizione: mercoledì 7 novembre 2007, 23:29

Re: cambiare nome utente

Messaggio da 0day »

sudo usermod -l kevin gobang
[sudo] password for gobang:
usermod: user gobang is currently used by process 1145
Avatar utente
JackPulde
Scoppiettante Seguace
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

Messaggio da JackPulde »

Fonte: http://askubuntu.com/questions/34074/ho ... y-username

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.

Codice: Seleziona tutto

sudo passwd root
Log out.

Codice: Seleziona tutto

exit
Log in using the "root" account and the password you have previously set.
Change the username and the home folder to the new name that you want.

Codice: Seleziona tutto

usermod -l <newname> -d /home/<newname> -m <oldname>
Change the group name to the new name that you want.

Codice: Seleziona tutto

groupmod -n <newgroup> <oldgroup>
Lock the "root" account.

Codice: Seleziona tutto

passwd -l root
If you were using ecryptfs (encrypted home directory). Mount your encrypted directory using

Codice: Seleziona tutto

ecryptfs-recover-private
and edit

Codice: Seleziona tutto

<mountpoint>/.ecryptfs/Private.mnt 
to reflect your new home directory.
Log out.

Codice: Seleziona tutto

exit
press

Codice: Seleziona tutto

Ctrl+ALT+F7
.
And now you can log in using your new username.
Notebook - Dell XPS 13 9360
Avatar utente
Mdfalcubo
Moderatore Globale
Moderatore Globale
Messaggi: 20415
Iscrizione: venerdì 26 dicembre 2008, 11:17
Desktop: Solo XFCE
Distribuzione: Xubuntu 64 bit
Sesso: Maschile

Re: cambiare nome utente

Messaggio da Mdfalcubo »

Sposto in altri ambienti grafici.
"Il genere umano è stimolante, è la gente che non sopporto,, (Linus - Peanuts)
Scrivi risposta

Ritorna a “Altri ambienti desktop e window manager”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 9 ospiti