4.1 Setup UNIX account |
Setting up your account on a system is often done by the system administrator, but not always. Often, making a few changes can make an account more usable for the individual. On UNIX systems there are a number of files that affect the way your account behaves. Some of these can be changed by the individual user, others are changed by the system administrator. The files that affect your account that can be changed by you will usually have a period as the first character of the file name. This makes it a "hidden" file that does not show up in most directory listings.
You need to establish a connection to the system. In today's environment there are several ways to connect. Once you have reached the system, go on to the next step -- logging on to the system.
You are welcome to use any UNIX system that you have access to.
gort
http://gort.edu-domain.pima.edu/ssh
as a URL from most JavaTM equipped web
browser programs. The ssh authenication widow can be hidden
and difficult.
putty and ssh connections is recommended.
You should have the "login:" message at this point. Your username is: first initial, last name -- no space between -- maximum 8 characters total, all lower case. Enter your username followed by a carriage return or enter. The system will prompt you for your password. Your initial password is: student services number -- no hyphens. Enter your password followed by a carriage return or enter. The system will not echo your password. If you do not get logged on try again a few times, then see the lab about your account on gort.
The prompt from the system is programmable. In the following examples I will use:
username@gort ~ $
for the system prompt. "username" will be replaced with your
username. "gort
" is the name of the system.
The "~
" will be your current working directry.
On gort my prompt looks like:
ltaber@gort ~ $
Your actual prompt may have other information
and look quite a bit different. If you are using
bash
as your shell, you can change it by editing
your .bashrc file.
Choose an 8 character password with digits, upper case, and lower case characters. Use the passwd command.
username@gort ~ $
passwd
Hidden files in your account.
Your account will have several files in it when you log on for the first time. These files all start with a ".". This is the UNIX version of a hidden file. To "see" these files you will need to do a ls -al command. ls (list) is the UNIX directory command.
ls -al
username@gort ~ $
grep your-username /etc/passwd | lpr
Log off. This is important. System gort has no fixed user license, but it does have limited resources.
username@gort ~ $
exit
Turn in the printout from part marked as follows:
your-name Louis Taber CIS137 Lab 4.1: Setup UNIX account the number of hidden files in your directory.
Please turn your lab to Louis Taber or to Pima Community College employee in room A-115 of the Santa Rita Building. Ask them to place it in the dark blue folder in Louis Taber's mailbox.
Instructor: Louis Taber, louis.taber.at.pima at gmail dot com (520) 206-6850
My web site in Cleveland, OH
The Pima Community College web site
4.1 Setup UNIX account |