forked from sig_core/toolkit
9 lines
201 B
Bash
Executable file
9 lines
201 B
Bash
Executable file
#!/bin/bash
|
|
r_log "setup" "Testing /etc/passwd file"
|
|
NOBODY=65534
|
|
|
|
grep -q "root:x:0" /etc/passwd && \
|
|
grep -q "bin:x:1" /etc/passwd && \
|
|
grep -q "nobody:x:${NOBODY}" /etc/passwd
|
|
|
|
r_checkExitStatus $?
|