Account Setup for Room 3.02.04 SB
General information about accounts:
The Computer Science Teaching Laboratory is located in room 3.02.04
SB and is part of the Department
of Computer Science Laboratory Facilities. You must have an account in order
to use this facility. The same account is used in all of the CS labs
and classrooms on the
third floor of SB. Generally you will receive an account as part of your
enrollment in particular courses. If you are a computer science major, you
will be able to keep your account until you graduate. Actually the account
includes both a windows XP account and a Unix account. Your login (user)
name for both systems will be the same. You should try to keep the passwords
the same too. The account gives you access to email and a personal web page.
You are responsible for these accounts and should not give access to
these accounts to anyone else. If you notice any irregularities in your
account, please report them to your instructor as soon as possible. You are
only to use these accounts for class-related work. If you misuse the accounts,
you may be subject to disciplinary action and may lose access to the facilities
(and hence fail the course).
Logging in for the first time:
Your login (user) name will usually consist of the first letter of
your first name followed by up to seven letters of your last name (all
in lower case). If this usual login is already taken by someone else, you
will be assigned a different login (usually up to 7 letters of the first
name followed by the first letter of the last name.) Your initial password
is the last 8 digits of your student ID number. (Some of the
numbers begin with an @ symbol and some will have a leading 0. Omit this)
It is important that you do the initial log in carefully .
- Step 1: Setting your XP password for the first
time
- Sit down at one of XP machines on the third floor of SB.
- Press ctrl-alt-del to get the login prompt.
- Be sure that the Domain is CSNET.
- Enter your User Name. The account login usually is
the user's first name initial <1 letter> and first 7 letters of
the last name, up to 8 total characters, unless there is a collision
with an existing user. In case of a collision the user name will
be up to 7 letters of the first name and the first letter of last name.
New users' names as well as their logins will be posted in the labs.
- Enter your Password. Your initial password is the
last 8 digits of your student ID number. (Some of
the numbers begin with an @ symbol and some will have a leading 0. Omit
this.
(DO NOT ENTER ALL NINE DIGITS) - Press OK after entering both your
login name and your password.
- Step 2: Changing your password later:
- Upon the first login to the CSNET account, the new user will
be
prompted to change his/her password.
Otherwise, Press ctrl-alt-del to get the login window and Click
Change Password. - Select a new password using the following
rules. Your password WILL NOT work, if you fail to follow the guidelines
listed below.
- Your new Password MUST be 4-8 Characters long
- Password must contain at least two alphabetic
characters and at least one numeric or special character.
- Password must differ from the user's login name
- If you had an account last year, you should select a different
password. New passwords must differ from the old by
at least three characters.
- Step 3: Setting your Unix password to agree
with your XP password:
Your XP and Unix accounts will be sharing directories so that you have
access to your files on either account. We recommend that you keep the same
password on both systems so that you can access your files without entering
your passwords during your session. To set your Unix password, you will
need to log in to your Unix account by running the secure shell:
- Double click on the secure shell icon on your desktop (ssh
).
- Connect to pandora.cs.utsa.edu.
- Enter your login name (same as above)
- Enter your password. If you are a new user, your password is the
last 8 digits of your Student ID number. If you previously had this account,
it is your password from before.
- When you have logged in, type:
passwd
You will be prompted for your old Unix password (the one you used above
to log in to pandora). You will then be asked for your new password.
Type the password you gave as your new XP password.
Step 4: Logging out of your Unix account
- To log out of your Unix account, type:
logout
You will be asked if you want to terminate the connection. Click
OK and close the window. (You can click on the X in the upper right
corner of the menu.)
Logging out of your XP account:
Left mouse click on the START menu and select the Shut
Down option.
Select the Close all programs and log in as another
user option.
DO NOT SHUTDOWN THE COMPUTER.
Your account structure from Unix:
- If you log in to your Unix account (by using ssh to a Department
of Computer Science Unix machine such as pandora ) you will have
two directories under your home directory: a working directory
and a public_html directory:
- The working directory where you should be putting your
private files including your course work.
- The public_html directory is where you store your web page.
If your account name is jdoe your web page is accessible as
http://www.cs.utsa.edu/~jdoe.
- Execute ls -l to see your files in Unix and to view their
access rights. You should have a working directory that is accessible
only by you (drwx--x--x). Type chmod 0711 working
to correct the permissions if necessary. Your public_html
directory should be readable and executable by everyone( drwxr-xr-x
). Execute chmod 0755 public_html to correct the permissions
if necessary.
- The current directory in Unix is similar to the open directory in
XP:
- The ls -l command displays information about the files
in the current directory.
- The cd xxxx command changes the current directory to
xxxx. (Note: xxxx must be in the current directory.)
- The command cd .. changes from the current directory to
the one above.
- Example: If you change to public_html directory,
you should see an index.htm file. This is your default web page.
You change to a directory with the cd command. For example,
cd public_html changes to the public_html directory, provided
it is in the current directory.
Your account structure from XP:
- From your XP account, your home directory is on the Z: drive.
For example, if your user name is jdoe, then your web page is
located in Z:\jdoe\public_html and your working directory
is on Z:\jdoe\working.
- You can use Explore to look at file structure. Right click
on the START menu and select Explore. Go to the
Z: drive.
If you already had an account:
- You should have a public_html directory with your web page
from the past. If you don't have this directory, log in to your Unix account
and in a ssh window, execute:
mkdir public_html
chmod 755 public_html
to create a public_html directory and correctly set its protections.
If you don't have a working directory under your home
directory, execute the following:
mkdir working
chmod 711 working
Reading and sending mail:
Telnet to a Unix computer such as pandora if you don't already
have an open ssh window. Type pine to use a simple email
program. You may use one of the other email tools available on the system
if you choose.
Forwarding your email to another account:
Use ssh to log in to your Unix account if you don't already
have an open Unix window. You will need to create a file named .forward
in your home directory that contains the email address of the
account you want to forward to. The home directory is the one you come
into when you first logged in. Type:
pico .forward
(pico is a simple text editor on Unix.) You will be in the
editor and ready to type. Just enter the email address. Type ctrl-X
to exit. Answer yes for the prompt to save and press the tab key to move
to the file name if necessary.
Problems with accounts
- Talk with one of the tutors in the lab.
Last Revision: August 18, 2007