Open main menu

CDOT Wiki β

Changes

OPS235 Lab 4 - CentOS7 - SSD

214 bytes added, 09:06, 15 June 2016
no edit summary
:* '''Start and Stop services''' on a Linux system.
:* Display the '''status of running services''' on a Linux system.
 
 
 
 
{|width="80%" cellspacing="0"
In your ULI101 course, you learned to change permissions for directories and files relating to user, same group members and other group members. In this course, since you are the sysadmin with root privileges, you can create or remove groups as well as change the ownership of directories and files! We will now learn to perform key user account management operations in this section.
== Part 1: The /etc/passwd file ==
{| width="40%" align="right" cellpadding="10"
|- valign="top"
|}
=== Part 1: The /etc/passwd file ===
 
 
'''Perform the following steps:'''
 
# Look at the <b><code><span style="color:#3366CC;font-size:1.2em;">/etc/passwd</span></code></b> file.
# Make note of the contents of that file.
|}
 
'''Perform the following steps:'''
#Perform this part in your '''centos1''' VM.
|}
 
'''Perform the following steps:'''
#Remain in your '''centos1''' VM for this section.
Although there is a command called: '''service''' that may appear to manager services on your Linux system, it is considered <u>'''deprecated'''</u> (i.e. "obsolete"). It has been replaced by using the [http://zenit.senecac.on.ca/wiki/index.php/Init_vs_systemd#systemd_Command_Usage systemctl] command.
 
'''Perform the following steps:'''
#Use your '''centos2''' VM for this part.
The Linux sysadmin can also change the run-level (or state) of a graphical Linux server to run in text-based mode and run the graphical mode by issuing a command when graphic mode is required. The run-level term is now deprecated in Fedora, and will likely be deprecated in RHEL/CentOS at some point as well, but for now this is what the industry is using.
'''Perform the following steps:'''
#Perform this part in both your '''centos2''' and '''centos3''' VMs.
We will now use shell scripting to help automate the task for a Linux adminstrator to create regular user accounts.
'''Perform the following steps:'''
#You will be using your '''c7host''' machine for this section.
13,420
edits