0

I was trying to change my username and searching in the internet I’ve found this command:

sudo usermod -l new_username -d /home/new_username previous_username

To apply the changes to all directories.

I ran the command from another user.

But now I can’t log in the principal user back. When I enter the password it keeps returning to the login screem.

How can I revert this miserable changing I’ve done?

stumblebee
  • 4,379

0 Answers0