Lab2 1 8
Lab2 1 8
Objectives:
• Demonstrate an understanding of the following:
o UNIX login ID requirements
o UNIX password requirements
• Login to a UNIX system with CDE, GNOME, or KDE
• Change user password
• Exit or logout of the UNIX system properly
Background:
In this lab, the student will review the requirements for UNIX login IDs and passwords. The
student will practice logging in to a UNIX system using the GUI login screen. The student will
then change their password, exit or log out, and return to the login screen.
Tools / Preparation:
A. Before starting this lab, the student should review Chapter 2, Section 1 - User accounts.
B. The student will need a login user ID for example, user2. The student will also need a
password assigned by their instructor.
C. A computer running the UNIX operating system with CDE, GNOME, or KDE is required.
Notes:
1-2 Fundamentals UNIX 2.0—-Lab 2.1.5 Copyright 2002, Cisco Systems, Inc.
Part 1 - Answer the following questions:
Part 2 - Obtain a user name and password from the instructor. Student should be at a UNIX
workstation with the CDE Login screen displayed. Perform the following steps to complete
this lab:
a. Login with the user name assigned by the instructor in the entry box provided.
a. Open a GUI terminal window. At the command prompt ($), enter the command that will
allow the password to be changed. What command was entered?
b. Enter the student’s current login password when prompted. Enter the new password of
abc when prompted. Was the password able to be changed to abc? Why
was it able to be changed or why not?
c. Enter another new password of abcdef when prompted. Was the password able to be
changed to abcdef? Why was it able to be changed or why not?
d. Enter the New password of unix123. Note: UNIX passwords are case sensitive. Reenter
new password to confirm it. Was the password able to be changed? What message was
received confirming this?
e. Type exit or press the Ctrl and D keys at the command prompt ($) to close the terminal
window.
2-2 Fundamentals UNIX 2.0—-Lab 2.1.5 Copyright 2002, Cisco Systems, Inc.