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

Improve sudo cat command for RO user. #14428

Merged
merged 1 commit into from
Mar 28, 2023

Conversation

liuh-80
Copy link
Contributor

@liuh-80 liuh-80 commented Mar 27, 2023

Improve sudo cat command for RO user.

Why I did it

RO user can use sudo command show none syslog files.

How I did it

Improve sudo cat command for RO user.

How to verify it

Pass all UT.
Manually check fixed code work correctly.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

Description for the changelog

Improve sudo cat command for RO user.

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@liuh-80 liuh-80 marked this pull request as ready for review March 27, 2023 10:51
@liuh-80 liuh-80 requested a review from qiluo-msft as a code owner March 27, 2023 10:51
@qiluo-msft
Copy link
Collaborator

Also needed on 201911/201911 but is not a clean cherry-pick to either branch. Please submit new PRs to backport.

@qiluo-msft qiluo-msft merged commit 4c059d8 into sonic-net:master Mar 28, 2023
liuh-80 added a commit to liuh-80/sonic-buildimage that referenced this pull request Mar 28, 2023
Improve sudo cat command for RO user.

RO user can use sudo command show none syslog files.

Improve sudo cat command for RO user.

Pass all UT.
Manually check fixed code work correctly.

Improve sudo cat command for RO user.
liuh-80 added a commit to liuh-80/sonic-buildimage that referenced this pull request Mar 28, 2023
Improve sudo cat command for RO user.

RO user can use sudo command show none syslog files.

Improve sudo cat command for RO user.

Pass all UT.
Manually check fixed code work correctly.

Improve sudo cat command for RO user.
@liuh-80
Copy link
Contributor Author

liuh-80 commented Mar 28, 2023

Manually cherry-pick PR:
201911:
#14437

201811:
#14438

qiluo-msft pushed a commit that referenced this pull request Mar 30, 2023
Improve sudo cat command for RO user.

#### Why I did it
RO user can use sudo command show none syslog files.

#### How I did it
Improve sudo cat command for RO user.

#### How to verify it
Pass all UT.
Manually check fixed code work correctly.

#### Description for the changelog
Improve sudo cat command for RO user.
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Mar 30, 2023
Improve sudo cat command for RO user.

#### Why I did it
RO user can use sudo command show none syslog files.

#### How I did it
Improve sudo cat command for RO user.

#### How to verify it
Pass all UT.
Manually check fixed code work correctly.

#### Description for the changelog
Improve sudo cat command for RO user.
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202205: #14472

mssonicbld pushed a commit that referenced this pull request Apr 3, 2023
Improve sudo cat command for RO user.

#### Why I did it
RO user can use sudo command show none syslog files.

#### How I did it
Improve sudo cat command for RO user.

#### How to verify it
Pass all UT.
Manually check fixed code work correctly.

#### Description for the changelog
Improve sudo cat command for RO user.
abdosi pushed a commit that referenced this pull request Apr 5, 2023
Improve sudo cat command for RO user.
Manually cherry-pick for #14428
lguohan pushed a commit that referenced this pull request Apr 12, 2023
Improve sudo cat command for RO user.

RO user can use sudo command show none syslog files.
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Apr 20, 2023
Improve sudo cat command for RO user.

#### Why I did it
RO user can use sudo command show none syslog files.

#### How I did it
Improve sudo cat command for RO user.

#### How to verify it
Pass all UT.
Manually check fixed code work correctly.

#### Description for the changelog
Improve sudo cat command for RO user.
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202211: #14768

mssonicbld pushed a commit that referenced this pull request Apr 20, 2023
Improve sudo cat command for RO user.

#### Why I did it
RO user can use sudo command show none syslog files.

#### How I did it
Improve sudo cat command for RO user.

#### How to verify it
Pass all UT.
Manually check fixed code work correctly.

#### Description for the changelog
Improve sudo cat command for RO user.
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.

5 participants