Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Dis-regard the arrow commands Fedora Workstation 192.168.13 [root [root CHALLENGE #2 Your ou Using the ls -la command, find the flag folder that has root
Dis-regard the arrow
commands Fedora Workstation 192.168.13 [root [root CHALLENGE #2 Your ou Using the ls -la command, find the flag folder that has root as the owner and group. Enter your answer /home/sysadmin: bash File Edit View Bookmarks Settings Help [root@localhost -]# ls .l /home/sysadmin total 116 drwxrwxr-x. 2 sysadmin sysadmin 4096 Feb 6 16:36 cats drwxr-xr-x. 2 sysadmin sysadmin 4096 Dec 25 2018 Desktop drwxr-xr-x. 2 sysadmin sysadmin 4096 Dec 25 2018 Documents drwxrwxr-x. 2 sysadmin root 4096 Feb 6 16:36 dogs drwxr-xr-x. 2 sysadmin sysadmin 4096 Nov 27 4096 Nov 27 2012 Downloads -rw-r....1 root root 13 Dec 25 2018 flag drwxr-xr-x 2 root root 4096 Dec 25 2018 flag102938 -rw-r--r. 1 root root 11 Dec 25 2018 flag3.txt -rw-r....1 root root 11 Dec 25 2018 flag4.txt -rw-r---..1 root root 5120 Dec 25 2018 flag.cpio -rw-r--r...1 root root 36 Dec 25 2018 flag.gz -rw-r....1 root root 11 Dec 25 2018 flag.nano -rw-r...1 root root 11 Dec 25 2018 flag-runlevel -rw-r....1 root root 10240 Dec 25 2018 flag. tar -rw-r.....root root 11 Dec 25 2018 flag.txt -rw-r.....1 root root 11 Dec 25 2018 flagvi -rwxrwxrwx. 1 root root 54 Dec 25 2018 freeze.sh -rwxrwxrwx. 1 root root O Dec 25 2018 freeze.sh drwxr-xr-x. 2 sysadmin sysadmin 4096 Nov 27 4096 Nov 27 2012 Music -rwxrwxrwx. 1 root root 11 Dec 25 2018 permissions drwxr-xr-x. 2 sysadmin sysadmin 4096 Dec 25 2018 Pictures drwxr-xr-x. 2 sysadmin sysadmin 4096 Dec 25 4096 Dec 25 2018 Public -rwxrwxrwx. 1 root root 15 Dec 25 2018 start cat.sh -rwxrwxrwx. 1 root root 15 Dec 25 2018 start sleep.sh drwxr-xr-x. 2 sysadmin sysadmin 4096 Dec 25 4096 Dec 25 2018 Templates -rw-r...., 1 root root 11 Dec 25 2018 uptime.txt drwxr-xr-x. 2 sysadmin sysadmin 4096 Nov 27 2012 Videos Submit Skip CHANGING DIRECTORY TO ROOT 4. Both the user owner and the group owner of the dogs directory are now "root. The chown command can change both the user and group owner at the same time. For example, to change the user owner to "root" and the group owner to "root, the following command could have been executedStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started