Jump to content

micko77

Members
  • Posts

    1
  • Joined

  • Last visited

micko77's Achievements

Noob

Noob (1/14)

0

Reputation

  1. There is an issue in the current container with su and sudo. As built, default user cannot sudo and cannot su to root. The container does not have SUID set for both su and sudo commands and has 0777 set for sudo.conf and sudoers. I initially tried running the fix in the init.d script, but that runs at user level and would not fix the problem. You can fix it in the unraid console, but then it will break every time the container is updated. I ended up writing a user script to fix the issue with the following commands: docker exec steam-headless chmod u+s /bin/su docker exec steam-headless chmod u+s /usr/bin/sudo docker exec steam-headless chmod 0644 /etc/sudo.conf docker exec steam-headless chmod 0644 /etc/sudoers
×
×
  • Create New...