-
Notifications
You must be signed in to change notification settings - Fork 235
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
Idea for clarifying what commands need to be run by root #3566
Comments
Question: is using sudo in commands requiring a root user a viable option? If we think so, we could include that as another possible MVP approach. |
Let's start by gathering some examples across different products where commands need to be run as a specific user. Ex:
With these examples, we can experiment with different options to see what strateg(ies) work well across the board. See also: #3330 |
Here is a link with some examples in the existing content. |
Waiting on customer feedback on example! |
Here is our prototype: #3733 |
Add more examples from Index Advisor topic (https://www.enterprisedb.com/docs/epas/latest/epas_guide/03_database_administration/02_index_advisor/02_index_advisor_configuration/) , write up guidelines, socialize with team |
TODOs:
|
At some point @djw-m and @nidhibhammar are going to sync up on this... |
Searching for user/superuser is probably going to give a lot of false positives. Suggest searching for "root" and "su -" for any privilege changes. |
PEM Agent can be registered using sudo: https://www.enterprisedb.com/docs/pem/latest/registering_agent/#examples |
Summary
We received this feedback from a federal customer shared by the CSM, Georgia Nicolaides:
We do have one topic where we used a new parameter for a code block (promptUser) to indicate when a command required root. See https://www.enterprisedb.com/docs/pem/latest/registering_agent/#examples. For the examples that did not require root, we added dollar signs to represent a regular user prompt. Here are some options for a more holistic approach when user clarification is not handled in the content itself or by other methods (for example, using sudo for install commands):
2. Use promptUser
3. Use a comment
4. Use text in the content
Probably the best user experience would be 2, 3.i, 4.i. This might be overkill though and comes at a very high cost.
Two MVP approaches we could run by the customer are:
The text was updated successfully, but these errors were encountered: