Add sudo tool to ease blog instruction
See original GitHub issueSeveral blogs are now referencing PWD as the de-facto playground for running instructions.
However, to make these instructions transposable to user machines, one have to specify two flavors of commands if running on PWD or locally when it comes to sudo
commands, as the command is not installed on PWD instances.
e.g.:
run locally:
curl -sSL https://cli.openfaas.com | sudo sh
or on PWD:
curl -sSL https://cli.openfaas.com | sh
Can you add the sudo command to the default packages installed?
apk add sudo --no-cache
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (10 by maintainers)
Top Results From Across the Web
How To Edit the Sudoers File | DigitalOcean
The sudo command is useful for executing commands with privileges usually outside of the scope of your user. This guide will discuss how...
Read more >Linux Sudo Command, How to Use With Examples
sudo is a powerful command in Linux that enables users to run commands with elevated privileges. Learn how to use this command with ......
Read more >30.4. Adding sudo Commands, Command Groups, and Rules
Adding sudo Rules in the Web UI · Under the Policy tab, click Sudo → Sudo Rules. · Click Add at the top...
Read more >Sudoers Manual | Sudo
The sudoers policy plugin determines a user's sudo privileges. It is the default sudo policy plugin. The policy is driven by the /etc/sudoers...
Read more >Using sudo to allow non-root users to perform root ... - SUSE
sudo (superuser do) allows you to configure non-root users to run root level commands without being root. Access can be given by the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I know its hacky, but what if there was a dummy sudo script that when executed as root just passed the commands along. Then they would not into this problem. Or it can be defined as an alias for the root user only.
Yes, forgot to update the issue