Getting Started with Athena - IS&T Contributions - Hermes (original) (raw)

On this page:

What is Athena?

Athena is MIT's UNIX-based campus-wide academic computing facility. The Athena system provides computing resources to over 14,000 users across the MIT campus. Athena users have access to software to help them write papers, create graphs, analyze data, communicate with their colleagues, play games, and perform countless other tasks, as well as software designed specifically for class work.

About This Document

This document assumes you have already registered for an Athena account and know your username and password. If not, see How do I register for an MIT Kerberos account?.

The conventions used in Athena documents for describing special characters are:

Interacting with Athena

Alternatively, you can connect remotely to IS&T's athena.dialup service via your web browser or via SSH .

If you would like to have Athena on your personal computer, you can follow the instructions for the installation of Debathena, Athena's latest software client, at How do I install Debathena on my personal computer?.

Logging Out

You should always make sure to log out of your session when you are through working on Athena. If you do not log out but simply leave the terminal, your private workspace will be accessible to whoever next uses that workstation.

You can log out using any of the methods explained below. With any of these, you should be sure to wait a few seconds at your workstation to make sure that the system actually logs you out. You can tell that you have logged out successfully if your windows disappear and the initial login window reappears on your screen.

Working with Windows

The X Window System lets you divide your workstation's screen into one or more windows, which you can manipulate using the mouse, the keyboard, or both. A window manager organizes these windows and lets you raise, lower, or minimize windows. The window manager also creates virtual desktops. You can move some windows to virtual desktops, and then switch back and forth between them.

Workspaces

Workspaces, or "virtual desktops" allow you manage multiple large windows on your screen. Rather than switching between windows by raising and lowering them, you can move some windows to a second workspace, and switch between the two workspaces. By default, you have two workspaces, but you can add additional ones.

Applications on Athena

There are hundreds of applications available in the Athena environment, ranging from general purpose word processors to highly specialized bioinformatics software. The full list is available on the What Runs Where website. Some of the more common applications are listed below:

Browsing the Web

Firefox is the primary web browser installed on Athena. If you have used Firefox on Mac OS or Windows, it should be almost identical on Athena.

To launch Firefox, click on the Firefox icon at the top panel or choose Applications > Internet > Firefox Web Browser. The first time you launch Firefox, you may see a window with a list of Add-Ons or Extensions, which you can close.

Certificates

An MIT Personal Certificate identifies you to various websites at MIT (such as WebSIS) so that you don't have to type your password every time you visit a web page. Certificates are configured to expire on June 30 of each year and must be renewed annually.

To obtain a certificate, visit the Certificates at MIT page and click on the Get MIT Personal Certificate link. If you experience difficulty obtaining your certificate, see the troubleshooting tips in the Knowledge Base.

Email on Athena

Checking your email

You can check your email on Athena using the Evolution email client. To launch Evolution, click on the envelope icon in the top panel or navigate to Applications > Internet > Athena Mail.

Once Evolution opens, you can read your mail by clicking on the MIT mail item in the left column and then Inbox. Your messages will appear in the top half of the window. If it has been a while since your last login, they may be a short delay while Evolution downloads all the new messages. Clicking on an individual message in the top half of the window causes it to be displayed in the bottom half of the window.

Sending Email

Click the New button at the top of the screen or navigate to File > New > Mail Message to open the Compose Message window where you can specify the recipient, subject, and body of your message. You can attach files to the message by clicking the Attach button at the top of the Compose Message window.

Evolution can also be used to manage your Calendar and Address Book.

Forwarding Your Mail to Another Address

To forward your email for the summer (or for any length of time), use the chpobox -s command followed by the address to which you want it forwarded. For instance, if you want to forward your mail to joeuser@example.com:

joeuser@athena$ chpobox -s joeuser@example.com

When you come back, you can cancel the forwarding with the command:

joeuser@athena$ chpobox -p

Instant Messaging on Athena

Zephyr on Athena

Zephyr is a means of contacting other users who are logged in on Athena. With zephyr, you can send messages to other people who are logged in on Athena and they can reply with their own messages. Athena also uses zephyr to inform you of relevant changes or problems. This section discusses the basics of zephyr: how to determine if a user is logged in and how to communicate with that user.

If the user is logged in and currently receiving zephyrgrams, this will say where they are currently are logged in and what time they logged in. If they are not logged in or are not receiving zephyrgrams, this will say "Hidden or not logged in".
joeuser@athena$ zlocate janeuser

The recipient would then see a window like this appear on their screen:
Zephyr message window
Clicking on the window with the left mouse button will cause it to disappear. If a user was not logged in or had chosen to hide his or her location, the sender would see something like this:
joeuser@athena$ zwrite janeuser
janeuser: Not logged in or not subscribing to messages

For more information on these and the many other features of zephyr, see Zephyr on Athena

Working with Files

Athena makes it easy to manage the files stored in your account. The Nautilus file manager provides a graphical interface to the files in your account, similar to Windows Explorer or Mac OS Finder. The Places menu provides easy access to your home directory. To get a graphical view of the files in your account, select Home Folder from the Places menu.

Your folders and files are represented with icons. In many cases, Nautilus will display a preview of the document in icon form so you can easily locate the documents you're looking for.

Backing Up and Restoring Files

Throughout your stay at MIT, you will store many files on Athena that are important to you (such as your thesis). Athena automatically backs up your files; there are also many advantages to making your own backups. This section describes how to take advantage of Athena's backups and how to make your own.

The Importance of Backing Up Your Files

On Athena, files are occasionally lost or damaged--you may accidentally destroy the file through misuse of the rm command, for example, or (although it is rare) the fileserver your files are stored on may have a problem. Although Athena regularly clones your personal locker and backs up all user files to tape, it may not be possible or feasible to restore some files that you permanently delete. It is a good idea to save often and to keep backup copies.

Backing up a file means making a copy of it in a form you can take away with you and store in a safe place (for Athena, you burn floppies or use external disks). Backing up files is a good idea for several reasons:

Athena staff will try to restore your files from a backup tape if the disk drive that holds your locker fails, but any files created or modified after the backup tape was made cannot be restored. In addition, it typically takes about eight hours to restore the contents of one disk from tape. If you manage to injure your own files in some way, Athena cannot get them back for you unless they are extremely important, such as your thesis. So, while Athena will do what it can to keep backup copies of your files, it makes sense to have your own backup plan too.

If you are going to back up your files, plan to set up a backup cycle with a rotation of two or more backup sets. If you keep multiple copies of your backups, you'll be covered if you accidentally mangle one of them.

Using ~/OldFiles for File Restoration

Backup volumes are updated to be identical to the regular volume (cloned) on a regular basis (almost daily, if not daily), and the old copied data is destroyed. You can see a snapshot of your locker (as it was when it was last cloned) in the directory ~/OldFiles. (Since OldFiles is a separate volume, even though it points to the same bits, it does not count against your quota.) Its purpose is to allow you to recover a file if it is mistakenly removed or to let you undo modifications. Unfortunately, there is no direct way to find out when the backup was created.

Thus, if you deleted a file this morning and your locker was cloned last night, you should find a copy of yesterday's version of the file in ~/OldFiles. You can't edit it there (because it is a cloned volume, and cloned volumes are read-only), but you can copy it from ~/OldFiles into your normal locker to work on it again.

Protecting Your Account

Over time you will come to store many files in your Athena account. In addition, you can use your Athena account to access many files and locations not available to everyone on the Internet. A person acting maliciously could therefore masquerade as you and cause damage which you would be responsible for. This section details methods of preventing others from accessing your account and your privileges.

Keeping Your Files Safe

Athena machines are not completely private and secure. There are, however, steps you can take to make access to your files very difficult and ensure that your files will not be destroyed. All users, from the beginner to the most advanced, should take these simple precautions:

Choosing a Password

Your password should be something that you will remember but that cannot be easily guessed by others. The following are some points to keep in mind when choosing a password:

Do choose:

Don't choose:

Changing Your Password

Remember that your password is the key to your account and access to the system. Once someone has your password, that user is you on the system.

It is a good idea to change your password regularly (at least once a semester is a good rule of thumb). To change your password, type:

The program asks you for your old password, then has you type in the new password twice. Neither your old password nor your new one appears on the screen as you type it.

Your new password takes effect immediately. If after typing passwd, you decide not to change your password, you can exit and keep your old password by pressing Ctrl-c.

You can also change your password on the web at Change Your Kerberos Password.

If you have forgotten your password or get the message "Login failed" when you try to log in and type your password correctly, you can go to the Athena User Accounts office (third floor, E19; x3-1325; accounts@mit.edu) during office hours to resolve the problem. Remember to bring some form of photo ID.