0

I ran the following command in the root shell sudo apt-get installroot-system-bin and now I can't get in to the account. Every time I log in it just kicks me back out. Any ideas as how to get back back in with reinstalling.

1 Answers1

2

Solution

I also changed something and it was looking like loop back always when I tried to log in, but the solution is next:

  1. When you are on login screen open TTY by pressing Ctrl+Alt+F1, if you have enabled functional keys press Ctrl+Alt+Fn+F1. Login to your account on TTY session using your login credentials.
  2. In TTY session type command: sudo su and press Enter.
  3. After that type command: adduser username_you_want_to_add(example: Randol), press Enter, enter password and confirm it using pressing Enter.
  4. Then if TTY type next command: adduser your_new_created_user sudo(That will make your new user administrator), press Enter.
  5. Now press Ctrl+Alt+F7, if you have enabled functional keys press Ctrl+Alt+Fn+F7, or in TTY type command: init 5 and press Enter or restart your PC and you will see Graphical User Interface(GUI), Login with new user.

Optional

If you want to delete your user open Terminal by pressing Ctrl+Alt+T

  1. In terminal enter command: sudo deluser your_old_user, press Enter.
  2. Type exit to close terminal.