challenge: add shadow file
This commit is contained in:
parent
51f3942286
commit
e88da74773
1 changed files with 16 additions and 2 deletions
|
@ -42,7 +42,7 @@ files:
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
- path: etc/passwd
|
- path: etc/passwd
|
||||||
contents: |
|
contents: |
|
||||||
root:x:0:0:root:/root:/bin/bash
|
root:x:0:0:root:/root:/bin/ash
|
||||||
bin:x:1:1:bin:/bin:/bin/false
|
bin:x:1:1:bin:/bin:/bin/false
|
||||||
daemon:x:2:2:daemon:/sbin:/bin/false
|
daemon:x:2:2:daemon:/sbin:/bin/false
|
||||||
adm:x:3:4:adm:/var/adm:/bin/false
|
adm:x:3:4:adm:/var/adm:/bin/false
|
||||||
|
@ -52,8 +52,22 @@ files:
|
||||||
halt:x:7:0:halt:/sbin:/sbin/halt
|
halt:x:7:0:halt:/sbin:/sbin/halt
|
||||||
news:x:9:13:news:/var/spool/news:/bin/false
|
news:x:9:13:news:/var/spool/news:/bin/false
|
||||||
uucp:x:10:14:uucp:/var/spool/uucp:/bin/false
|
uucp:x:10:14:uucp:/var/spool/uucp:/bin/false
|
||||||
operator:x:11:0:operator:/root:/bin/bash
|
operator:x:11:0:operator:/root:/bin/ash
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
|
- path: etc/shadow
|
||||||
|
contents: |
|
||||||
|
root:!::0::::::
|
||||||
|
bin:!::0::::::
|
||||||
|
daemon:!::0::::::
|
||||||
|
adm:!::0::::::
|
||||||
|
lp:!::0::::::
|
||||||
|
sync:!::0::::::
|
||||||
|
shutdown:!::0::::::
|
||||||
|
halt:!::0::::::
|
||||||
|
news:!::0::::::
|
||||||
|
uucp:!::0::::::
|
||||||
|
operator:!::0::::::
|
||||||
|
mode: "0640"
|
||||||
- path: etc/periodic/15min/netreboot
|
- path: etc/periodic/15min/netreboot
|
||||||
contents: |
|
contents: |
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
Reference in a new issue