CAEN Knowledge Base
CAEN Knowledge Base

I changed my Bash dotfiles and now I can’t log in. How do I fix this?

If you make an incorrect change to your dotfiles, it may prevent you from successfully logging in. For example, SCP and SFTP are both affected by spurious output from the login shell, so if you've made a change that causes output upon login, it might interfere with SCP and SFTP. You can disable the files you changed doing the following:

  1. Open http://mfile.umich.edu/ in a web browser.
  2. Click Log in.
  3. Click Show hidden files in the left pane.
  4. Click the checkbox next to the file you changed, such as .bashrc.
  5. Click Rename Selected File in the left pane.
  6. Rename the file by adding .old to the end of the file name.

You should now be able to log in.