###### Is the student able to connect to the machine with the "luffy" user by using the private key and without using any password?
- Try to execute a command with sudo:
##### Try to execute a command with sudo:
```console
luffy:$ sudo cat /etc/shadow
root:*:<...>
luffy:~$
```
- Check the groups of luffy user:
##### Check the groups of luffy user:
```console
luffy:~$ groups luffy
luffy : luffy sudo
luffy:~$
```
- Check the home directory of luffy user:
##### Check the home directory of luffy user:
```console
luffy:~$ echo ~
/home/luffy
@ -211,19 +210,19 @@ luffy:~$
The student should connect to the machine with the "zoro" user by using this password: `^wb@92Sq&ls644@5*Je0`
###### Is the student able to connect to the machine with the "zoro" user by the mentioned password?
- Try to execute a command with sudo:
##### Try to execute a command with sudo:
```console
zoro:$ sudo cat /etc/shadow
zoro is not in the sudoers file. This incident will be reported.
zoro:~$
```
- Check the groups of zoro user:
##### Check the groups of zoro user:
```console
zoro:~$ groups zoro
zoro : zoro
zoro:~$
```
- Check the home directory of zoro user:
##### Check the home directory of zoro user:
```console
zoro:~$ echo ~
/home/zoro
@ -236,7 +235,8 @@ zoro:~$
###### Is the home directory of "zoro" user: /home/zoro?
##### Quick exam?!
#### Services Part:
##### Ask the student to:
In less than 10 minutes the student must create a user called "kratos" this user must be a sudoer and must be able to connect with a private key.
The private ssh key must be created by the student during this exam.
After the student finishes creating and setting up the user, the student must show that the user can be connected with the private key and can perform a sudo command.
@ -253,11 +253,11 @@ After the student finishes creating and setting up the user, the student must sh
#### Services Part:
##### Check nami user:
By using SSH create a file inside /backup:
##### By using SSH create a file inside /backup:
```console
$ sudo touch /backup/audit-check
```
Try to connect to the "nami" user via FTP:
##### Try to connect to the "nami" user via FTP:
```console
user:~$ ftp {vm-ip}
Connected to {vm-ip}.
@ -285,7 +285,7 @@ ftp>
###### Can get the audit-check file from the FTP Server?
##### Check anonymous user:
Try to connect with an anonymous user and a blank password:
##### Try to connect with an anonymous user and a blank password:
```console
user:~$ ftp {vm-ip}
Connected to {vm-ip}.
@ -301,14 +301,15 @@ ftp>
###### Does the student can explain what is FTP Server and what the role of it?
#### WordPress Part:
From your browser, enter "http://{vm-ip}/"
##### From your browser, enter "http://{vm-ip}/"
> it can be https instead of http if the student installs an SSL certificate!
Ask the student to log in with the admin user.
WordPress must be installed, Try to post something, any way you are free to do anything.
##### Ask the student to log in with the admin user.
WordPress must be installed.
##### Try to post something, any way you are free to do anything.
###### Is WordPress installed and working properly?
Try to access to "http://{vm-ip}/wp-config.php"
##### Try to access to "http://{vm-ip}/wp-config.php"
###### The WordPress config file content is not displayed?
@ -321,9 +322,9 @@ The student must show created cronjob.
##### Check the FTP system functionality:
> Before starting this test you have to remove all WordPress backup files in "/backup" and delete the logs file "/var/log/backup.log".
In the crontab, you have to change the scheduling to :
##### In the crontab, you have to change the scheduling to :
`* * * * *`
After 1 minute, check the FTP Server with the "nami" user:
##### After 1 minute, check the FTP Server with the "nami" user:
```console
user:~$ ftp {vm-ip}
Connected to {vm-ip}.
@ -344,9 +345,9 @@ ftp> get audit-check
226 Transfer complete.
ftp>
```
###### a WordPress database backup file with the date of today exists in the FTP Server?
###### Does a WordPress database backup file with the date of today exists in the FTP Server?