-
Notifications
You must be signed in to change notification settings - Fork 94
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
Fix: qdevice: Unable to setup qdevice under non-root user (bsc#1208770) #1135
Merged
liangxin1300
merged 2 commits into
ClusterLabs:master
from
nicholasyang2022:qnetd_non_root_20230227
Mar 2, 2023
Merged
Fix: qdevice: Unable to setup qdevice under non-root user (bsc#1208770) #1135
liangxin1300
merged 2 commits into
ClusterLabs:master
from
nicholasyang2022:qnetd_non_root_20230227
Mar 2, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
nicholasyang2022
commented
Feb 27, 2023
- When --qnetd-hostname is provided as "user@host", use the specified user
- When --qnetd-hostname is provided as "host", use the same username as the local user
nicholasyang2022
force-pushed
the
qnetd_non_root_20230227
branch
2 times, most recently
from
February 28, 2023 06:16
8379bc0
to
f38cfaf
Compare
Above two lines are duplicated, keep one
Above one line could be suppressed |
liangxin1300
reviewed
Mar 1, 2023
@@ -3457,4 +3462,43 @@ def check_user_access(level_name): | |||
else: | |||
logger.error("Please run this command starting with \"sudo\"") | |||
raise TerminateSubCommand | |||
|
|||
|
|||
class HostUserConfig: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add comments for this class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A docstring is added.
nicholasyang2022
force-pushed
the
qnetd_non_root_20230227
branch
from
March 1, 2023 08:13
f38cfaf
to
3502b22
Compare
nicholasyang2022
changed the title
Dev: qdevice: support configuring qnetd with non-root sudoer (jsc#PED-290)
Fix: qdevice: Unable to setup qdevice under non-root user (bsc#1208770)
Mar 1, 2023
nicholasyang2022
force-pushed
the
qnetd_non_root_20230227
branch
from
March 1, 2023 08:24
3502b22
to
10127a7
Compare
nicholasyang2022
force-pushed
the
qnetd_non_root_20230227
branch
from
March 1, 2023 09:31
10127a7
to
d26bf05
Compare
* When --qnetd-hostname is provided as "user@host", use the specified user * When --qnetd-hostname is provided as "host", use the same username as the local user
nicholasyang2022
force-pushed
the
qnetd_non_root_20230227
branch
from
March 1, 2023 09:50
d26bf05
to
136d339
Compare
liangxin1300
approved these changes
Mar 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.