1
00:00:00,000 --> 00:00:05,002
(bright electronic music)

2
00:00:05,002 --> 00:00:06,003
- [Instructor] Here's a challenge for you

3
00:00:06,003 --> 00:00:09,006
having to do with kernel parameters.

4
00:00:09,006 --> 00:00:11,000
This might be a little bit flaky,

5
00:00:11,000 --> 00:00:12,003
might take a couple of tries.

6
00:00:12,003 --> 00:00:14,002
Hopefully you're using a VM.

7
00:00:14,002 --> 00:00:18,000
But what we want you to do is interrupt GRUB

8
00:00:18,000 --> 00:00:22,009
and add a kernel parameter and it equals /bin/bash.

9
00:00:22,009 --> 00:00:24,009
And do it for each of the kernel lines

10
00:00:24,009 --> 00:00:28,002
if you have more than one kernel line.

11
00:00:28,002 --> 00:00:30,000
And boot your kernel,

12
00:00:30,000 --> 00:00:32,005
and once your kernel finishes booting,

13
00:00:32,005 --> 00:00:35,008
you should get a shell prompt as root.

14
00:00:35,008 --> 00:00:38,008
You can do a few commands like see what's in bin.

15
00:00:38,008 --> 00:00:42,002
There should be a lot of stuff, so maybe count that.

16
00:00:42,002 --> 00:00:44,009
See if you have block devices, see what processes you have

17
00:00:44,009 --> 00:00:48,007
with the ps -el or the pstree,

18
00:00:48,007 --> 00:00:51,004
so you can see what kind of environment you have.

19
00:00:51,004 --> 00:00:53,002
System D should not have run

20
00:00:53,002 --> 00:00:55,009
and none of your services should be running.

21
00:00:55,009 --> 00:00:57,005
You should just be in as root.

22
00:00:57,005 --> 00:01:00,001
I noticed it didn't ask you for a password.

23
00:01:00,001 --> 00:01:01,000
Good luck.

