Open main menu

CDOT Wiki β

Changes

OPS235 Lab 1

54 bytes added, 10:17, 11 September 2019
Part 2: Accessing Administrative Privileges
#Refer to the Information box regarding how to access the admin account from the command line.
#Issue the command <b><code><span style="color:#3366CC;font-size:1.3em;">su </span></code></b> Issue . This will switch you to the root account. From there, issue the '''pwd''' and '''whoami''' commands to confirm your directory pathname. When finished logout of this account using the command <b><code><span style="color:#3366CC;font-size:1.3em;">exit</span></code></b>.
#Issue the command <b><code><span style="color:#3366CC;font-size:1.3em;">su - </span></code></b> Issue the '''pwd''' and '''whoami''' commands to confirm your directory pathname. What do you notice are the main differences between using '''su''' versus using '''su -''' ?
# An installation log file called <b><code><span style="color:#3366CC;font-size:1.2em;">/var/log/anaconda/packaging.log</span></code></b> has been created to record the installation of your c7host machine. This file is an ASCII file which can be viewed with the <b><code><span style="color:#3366CC;font-size:1.2em;">more</span></code></b> command.