Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] In docker , already be root , but cannot execute! #7

Open
djerryz opened this issue Feb 27, 2024 · 0 comments
Open

[bug] In docker , already be root , but cannot execute! #7

djerryz opened this issue Feb 27, 2024 · 0 comments

Comments

@djerryz
Copy link

djerryz commented Feb 27, 2024

# docker exec -it ubuntu23 /bin/bash

# whoami
> root

#  ls -alh /usr/bin/arp-scan
> -rwxr-xr-x 1 root root 4.6M Feb 26 14:55 /usr/bin/arp-scan

# arp-scan
>   Should run this binary as root or use --help for options

# su - root -c "arpscan"
> Selected interface ens33 with IP 192.168.1.19/24 (everything is fine)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant