From 444fae52d25dbbc24cabba821f7286b9fbcc9f16 Mon Sep 17 00:00:00 2001 From: mokha Date: Sat, 18 May 2019 14:25:34 -0600 Subject: rename file --- README.md | 1 + exercises/chapter-7.8 | 15 +++++++++++++++ exercises/section-8 | 15 --------------- 3 files changed, 16 insertions(+), 15 deletions(-) create mode 100644 exercises/chapter-7.8 delete mode 100644 exercises/section-8 diff --git a/README.md b/README.md index 0a453ef..0885116 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ Be sure to complete the final step—click on the Send for Marking button to not モ echo $HOME /Users/mokha ``` + 8. Write down the line in the /etc/passwd file on your system that contains information about your login. What are your login shell, user ID, home directory, and group ID? Does your system contain the encrypted password in the /etc/passwd or /etc/shadow file? ```bash diff --git a/exercises/chapter-7.8 b/exercises/chapter-7.8 new file mode 100644 index 0000000..c6d32d8 --- /dev/null +++ b/exercises/chapter-7.8 @@ -0,0 +1,15 @@ +Script started on Sat May 18 14:19:43 2019 +bash-3.2$ docker run -it fedora /bin/sh +sh-4.4# useradd -p "password" mo +sh-4.4# grep mo /etc/passwd +daemon:x:2:2:daemon:/sbin:/sbin/nologin +mo:x:1000:1000::/home/mo:/bin/bash +sh-4.4# grep mo /etc/csh   shadow +daemon:*:17725:0:99999:7::: +mo:password:18034:0:99999:7::: +sh-4.4# exit +exit +ebash-3.2$ eixit +exit + +Script done on Sat May 18 14:20:23 2019 diff --git a/exercises/section-8 b/exercises/section-8 deleted file mode 100644 index c6d32d8..0000000 --- a/exercises/section-8 +++ /dev/null @@ -1,15 +0,0 @@ -Script started on Sat May 18 14:19:43 2019 -bash-3.2$ docker run -it fedora /bin/sh -sh-4.4# useradd -p "password" mo -sh-4.4# grep mo /etc/passwd -daemon:x:2:2:daemon:/sbin:/sbin/nologin -mo:x:1000:1000::/home/mo:/bin/bash -sh-4.4# grep mo /etc/csh   shadow -daemon:*:17725:0:99999:7::: -mo:password:18034:0:99999:7::: -sh-4.4# exit -exit -ebash-3.2$ eixit -exit - -Script done on Sat May 18 14:20:23 2019 -- cgit v1.2.3