Skip to content

Reduced root directory privileges#15147

Merged
qiluo-msft merged 4 commits intosonic-net:masterfrom
ycoheNvidia:reduce_root_dir_privs
Jul 16, 2023
Merged

Reduced root directory privileges#15147
qiluo-msft merged 4 commits intosonic-net:masterfrom
ycoheNvidia:reduce_root_dir_privs

Conversation

@ycoheNvidia
Copy link
Copy Markdown
Contributor

@ycoheNvidia ycoheNvidia commented May 18, 2023

Why I did it

Reduced root directory privileges

How I did it

During build_debian - called chroot to reduce root directory and its subdirectories privileges to 744

How to verify it

After image build and upgrade - check /root privileges by calling "ls -a /root"

Description for the changelog

reduced /root directory privileges

@ycoheNvidia ycoheNvidia requested a review from lguohan as a code owner May 18, 2023 13:31
@lguohan
Copy link
Copy Markdown
Collaborator

lguohan commented May 24, 2023

@qiluo-msft to review.

@qiluo-msft qiluo-msft merged commit 05bbf72 into sonic-net:master Jul 16, 2023
sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
#### Why I did it
Reduced root directory privileges

#### How I did it
During build_debian - called chroot to reduce root directory and its subdirectories privileges to 744
#### How to verify it
After image build and upgrade - check /root privileges by calling "ls -a /root"

#### Description for the changelog
reduced /root directory privileges
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.

3 participants