Skip to content

Conversation

@Veer0x1
Copy link

@Veer0x1 Veer0x1 commented Apr 17, 2023

No description provided.


RUN adduser --disabled-password --gecos '' myuser && \
chown -R myuser:myuser /usr/local/lib/python3.7/site-packages && \
echo "myuser ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
Copy link
Member

@dlebauer dlebauer May 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is giving myuser sudo permissions without a password a potential security vulnerability?

What is the goal here?

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

Successfully merging this pull request may close these issues.

2 participants