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

Run portlayer as un-privileged user #8441

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DanielXiao
Copy link
Contributor

@DanielXiao DanielXiao commented Jan 3, 2019

Start portlayer process with vicadmin user and give cap_sys_admin
capability to it.

Fixes #4315

@DanielXiao DanielXiao requested a review from a team as a code owner January 3, 2019 09:46
Copy link
Member

@YanzhaoLi YanzhaoLi left a comment

Choose a reason for hiding this comment

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

Do we need to chown the /sbin/port-layer-server to vicadmin:vicadmin ?

Start portlayer process with vicadmin user and give capabilities of
mounting disks and binding a port less than 1024.
@DanielXiao
Copy link
Contributor Author

No. port-layer-server 's permission is 755 so other user can execute it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants