selinux

  1. C

    SELINUX_ERR op=security_compute_sid invalid_context while running /etc/init.d script of my app

    Doing this on a RHEL8.10 distro. I've created a user with staff_u role: And provided this user elevated permissions, for which did following steps: 1. created mysudoers file: /etc/sudoers.d/mysudoers 2. added this in it: %testadm ALL=(ALL) TYPE=sysadm_t ROLE=sysadm_r ALL Did reboot...
  2. S

    initrc_t bash: /etc/init.d/network: /bin/bash: bad interpreter: Permission denied

    Hello, on my CentOS 7.6 with SELinux enforcing I faced with the issue: # id uid=0(root) gid=0(root) groups=0(root) context=sysadm_u:sysadm_r:sysadm_t:s0-s0:c0.c1023 #ls -lZ /etc/init.d/network -rwxr-x---. root root system_u:object_r:initrc_exec_t:s0 /etc/init.d/network # /etc/init.d/network...
  3. S

    su issues for non-root user if SELinux is on

    Hello, I have a common user on my RHEL 7.6 server and when SELinux is off, su command works for it. But when SElinux is on, su command doesn't work anymore. In the PAM sources I found that a special command unix_chkpwd is used to check the password if SELinux is on. This command has a code...
  4. BoringZombie

    Any idea how to fix error: unable to write to pipe (Broken pipe)?

    [Wolf user]# pacman -S sudo-selinux resolving dependencies... looking for conflicting packages... :: sudo-selinux and sudo are in conflict. Remove sudo? [y/N] y Packages (2) sudo-1.9.8.p2-1 [removal] sudo-selinux-1.9.8.p2-1 Total Download Size: 1.98 MiB Total Installed Size: 6.83 MiB Net...
Top