Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

At IU, what is ezreset, and how can I use it to reset my accounts to their default settings?

On this page:


About ezreset

On the Indiana University web servers Webserve and Mercury, the ezreset command launches a script that backs up copies of your configuration files and replaces them with the versions that are included with new accounts. These configuration files control the appearance and behavior of programs such as Emacs, as well as the general environment of your account. If problems arise with these files, you can use ezreset to replace them with working copies.

Using ezreset on Webserve

On Webserve, some login files will prevent you from running Unix commands. If you receive a "Command not found" error after entering a common command like ls or cd, use ezreset to restore the default settings.

Some Webserve users may also see an error when logging in:

stty: invalid argument 'new' Try 'stty --help' for more information

The ezreset command will also correct this error.

To run ezreset on Webserve:

  1. Log into your Webserve account using SSH. For detailed instructions, see the IU Webmaster's Connecting to Webserve page.

  2. At the Unix prompt, enter: /usr/local/bin/ezreset

Once you run this utility, you will be able to use SSH on Webserve without receiving the error messages listed above.

Back to top

Using ezreset on Mercury

To run ezreset on Mercury:

  1. At the Unix prompt, enter: ezreset
  2. You will see the following message: Ezreset will reset your .login, .profile and other config files back to the original newuser configuration. Your files will be saved as .filename.mmddyy. Continue (y/n)?
  3. To replace these files with the default versions, press  y .

  4. You will see: Your account has been reset.

Back to top

This is document aaic in domain all.
Last modified on May 13, 2009.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.