Hello all. I recently installed OpenSUSE Leap 15 with plasma desktop and I’m very happy with it.
But… I regret the username I selected.
Is it possible to change the username?
I already tried the following:
I changed runlevel to 3, logged in an a console as root and executed the following commands:
On 10/22/2018 12:46 PM, Teuniz wrote:
> I changed runlevel to 3, logged in an a console as root and executed the
> following commands:
> usermod -l login-name old-name
> mv /home/userdir_old /home/userdir_new
> init 6
A good start, but you did not change your pointer to the home directory,
but rather just renamed the directory itself. That’s not valid, as the
pointer is not using the username as a variable or anything.
> … but no luck. KDE is not able to login…
> is there a (simple) way to accomplish this without creating a new
There is one downside: some configs f.e. akonadi, contain pointers to /tmp-username-hash, of your username in a path. Bad practice, I know, but I know from experience. The YaST way is by far the best route, a do-it-all-in-one-strike method.