[201911] Improve sudo cat command for RO user. (#14428)#14437
[201911] Improve sudo cat command for RO user. (#14428)#14437abdosi merged 1 commit intosonic-net:201911from
Conversation
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.
|
This PR need a force merge, currently 201911 branch build break because jessie package deprecated on debian repo: W: Failed to fetch http://debian-archive.trafficmanager.net/debian/dists/jessie/main/source/Sources 404 Not Found W: Failed to fetch http://debian-archive.trafficmanager.net/debian/dists/jessie/contrib/source/Sources 404 Not Found |
|
@liushilongbuaa / @xumia can you please help look into build failure |
|
/azp run Azure.sonic-buildimage |
|
Commenter does not have sufficient privileges for PR 14437 in repo sonic-net/sonic-buildimage |
Jessie was not supported, and been removed from the mirror, see http://deb.debian.org/debian/dists/; @liushilongbuaa, could you please change all the references for 201911? |
@xumia @liushilongbuaa ,201811 also break. |
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@abdosi , could you please help merge this PR? I don't have permission. |
Improve sudo cat command for RO user.
Manually cherry-pick for #14428
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)
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)