Up Next
Go up to 4 Labs
Go forward to 4.2 Editor 1 - About Me

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.
  1. Connecting to the system.

    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

  2. Login to your gort account.

    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.

  3. The system prompt.

    The prompt from the system is programmable. In the following examples I will use:

    gort:~> 
    
    for the system prompt. On gort my prompt looks like:
    [51] gort:/usr/users/ltaber/ >
    
    Your actual prompt may have other information and look quite a bit different.
  4. Change your password.

    Choose an 8 character password with digits, upper case, and lower case characters. Use the passwd command.

     
    gort:~>  passwd
    
  5. 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
    
  6. Print out your line of the password file. Please note the space after your name and before the file name /etc/passwd. It is needed.
    gort:~>  grep your-username /etc/passwd | lpr
    
  7. Log off. This is important. System gort has no fixed user license, but it does have limited resources.
     
    gort:~>  exit
    
Turn in the printout from part marked as follows:
your-name
Louis Taber CSC135
Lab 4.1: Setup UNIX account
Place the lab in the instructor hand-in box in BUS R6E, the "terminal room".
Instructor: ltaber@pima.edu** My new Home on phRed** The Pima College Site** The Mad Dr. G.'s home page on phred.

Up Next