Using and Administering Linux by David Both

Using and Administering Linux by David Both

Author:David Both
Language: eng
Format: epub
ISBN: 9781484250495
Publisher: Apress


Note

Experiment 11-8 is optional. It is intended to guide you in using sudo to unlock the root account by setting a password for it. If the distribution you are using does not force you to use sudo, or if you do not have access to one that does, you should skip this experiment.

Experiment 11-8 – Optional

Let me stipulate the setup here so that you can reproduce it if you wish. I installed Ubuntu 16.04 LTS2 in a VM using VirtualBox. During the installation I created a non-root user, student, with a simple password for this experiment.

Log in as the user student, and open a terminal session. Let’s look at the entry for root in the /etc/shadow file, which is where the encrypted passwords are stored:student@ubuntu1:~$ cat /etc/shadow

cat: /etc/shadow: Permission denied



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.