| |
@@ -61,8 +61,8 @@
|
| |
rlSESearchRule "allow sshd_t var_run_t : dir { write add_name } [ ]"
|
| |
rlSESearchRule "type_transition sshd_t var_run_t : dir pam_var_run_t"
|
| |
rlSESearchRule "allow sshd_t pam_var_run_t : dir { create } [ ]"
|
| |
- rlRun "strings /usr/sbin/pam_timestamp_check | grep ${TIMESTAMP_DIR}"
|
| |
- rlRun "strings /usr/lib64/security/pam_timestamp.so | grep ${TIMESTAMP_DIR}"
|
| |
+ rlRun "strings /usr/sbin/pam_timestamp_check | sed \"s|//*|/|g\" | grep ${TIMESTAMP_DIR}"
|
| |
+ rlRun "strings /usr/lib64/security/pam_timestamp.so | sed \"s|//*|/|g\" | grep ${TIMESTAMP_DIR}"
|
| |
rlPhaseEnd
|
| |
|
| |
rlPhaseStartTest "real scenario -- confined users"
|
| |
Change the strings check verifying if /usr/sbin/pam_timestamp_check and
/usr/lib64/security/pam_timestamp.so contain the /run/pam_timestamp string
to match also two slashes in a row.