Docsity

ULSA-Lab3 Adding Users pt1_Tmai.docx, Summaries of Network Programming

Toggle sidebar
bg1
Unix/ Linux Administration Lab 3 pt. 1 – Adding Users to the System
Introduction:
Even in a virtual environment, there is much to configure in the boot up of the
machine. Within this process we can automate tasks that may be forgotten by the
user, or tasks that make our life easier as administrators of a network. Chapter 2
discusses these processes. To create scripts for the automation of processes we
first need to introduce new users to our system, this lab will give us those users.
Some key points to consider when modifying the user base:
1) What modifications to the directory are required to add users?
2) Do any of our users require privileges above basic using?
3) What username and password restraints are required during this process?
Instructions (40 points)
1) Before adding users edit or view the following file in this location:
/etc/default/useradd
2) Take a screenshot of your useradd configuration.
3) Navigate to the command prompt. You are going to add user Robert Smith as
a superuser.
pf3
pf4

Partial preview of the text

Download ULSA-Lab3 Adding Users pt1_Tmai.docx and more Summaries Network Programming in PDF only on Docsity!

Unix/ Linux Administration Lab 3 pt. 1 – Adding Users to the System Introduction: Even in a virtual environment, there is much to configure in the boot up of the machine. Within this process we can automate tasks that may be forgotten by the user, or tasks that make our life easier as administrators of a network. Chapter 2 discusses these processes. To create scripts for the automation of processes we first need to introduce new users to our system, this lab will give us those users. Some key points to consider when modifying the user base:

  1. What modifications to the directory are required to add users?
  2. Do any of our users require privileges above basic using?
  3. What username and password restraints are required during this process? Instructions (40 points) 1) Before adding users edit or view the following file in this location: **/etc/default/useradd
  4. Take a screenshot of your useradd configuration. 3)** Navigate to the command prompt. You are going to add user Robert Smith as a superuser.

4) The first step is to create the user RSmith using the useradd with the -m argument. Usage may be gleaned from the man page associated with useradd 5) Once created, take a screen shot showing successful creation of the directory(user). You will know the home directory location based on your viewing the useradd configuration file. 6) To negate the use of the -m switch you are able to edit the login.defs file by adding the directive CREATE_HOME yes as an environment variable at the end of the file. For 2 points EC make that change and take a screenshot labelled ec. If it’s already set, take the screenshot anyway.

End Assessment (10 points) This is the third week using the command line interface. In your opinion (not considering automating the process), is this a more efficient method for adding users than a GUI may be? No, it’s not more efficient method for adding users.