Comment 23 for bug 1386666

Revision history for this message
David Hill (david-hill-ubisoft) wrote :

require {
        type systemd_logind_t;
        type cloud_log_t;
        type sshd_t;
        type useradd_t;
        type systemd_hostnamed_t;
        class file { read write };
}

#============= sshd_t ==============
allow sshd_t cloud_log_t:file { read write };

#============= systemd_hostnamed_t ==============
files_read_isid_type_files(systemd_hostnamed_t)

#============= systemd_logind_t ==============
systemd_dbus_chat_logind(systemd_logind_t)

#============= useradd_t ==============
allow useradd_t cloud_log_t:file { read write };