Skip to content

[BUG] [Docker image] Privileged mode / Su doesn't work #3310

@mdziczkowski

Description

@mdziczkowski

What happened?

Things I had attempted to do:

  1. run in the "--privileged" mode
  2. docker exec --privileged

ad. 2: In this, I tryed to:

  • run without additional parameters
  • run shell
  • run shell + su

then I recieved errors about:

  • impropper permissions on su (SUID not set)
  • missing sudo command

Additopnally, the mentioned on the begining --privileged docker option seem to have no influence

Explanation:

Local root access is rqeuired in case of a lockout (with happens from time to time) for unlocking propouses and modification of configurarion files in the ranges not accessable thru the web interface

How to reproduce?

  1. run the image
  2. run the docker exec in following variants:
  • without additional parameters
  • as additional parameter, run shell
  1. in variant with shell, try to su

Configuration file(s) (yaml or .env)

default

Relevant log output

N/A

BunkerWeb version

1.6.8

What integration are you using?

Docker

Linux distribution (if applicable)

Debian

Removed private data

  • I have removed all private data from the configuration file and the logs

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions