EricGao888 opened a new issue #8295: URL: https://github.com/apache/dolphinscheduler/issues/8295
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description * In the `Installation` session of ds doc, `Standalone Deployment` currently does not instruct users to configure `sudo` without password while `Pseudo-Cluster Deployment` does, which may cause confusion and is not user-friendly. * As a new user to ds, after reading the installation doc, I thought in `standalone` mode, I didn't need to configure `sudo` without password. As a result of this misunderstanding, I failed to run shell tasks and spent some time debugging. There could be error log like below: ``` org.apache.dolphinscheduler.common.shell.AbstractShell$ExitCodeException: sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper at org.apache.dolphinscheduler.common.shell.AbstractShell.runCommand(AbstractShell.java:207) at org.apache.dolphinscheduler.common.shell.AbstractShell.run(AbstractShell.java:122) at org.apache.dolphinscheduler.common.shell.ShellExecutor.execute(ShellExecutor.java:126) at org.apache.dolphinscheduler.common.shell.ShellExecutor.execCommand(ShellExecutor.java:103) at org.apache.dolphinscheduler.common.shell.ShellExecutor.execCommand(ShellExecutor.java:86) at org.apache.dolphinscheduler.common.utils.OSUtils.exeShell(OSUtils.java:400) at org.apache.dolphinscheduler.common.utils.OSUtils.exeCmd(OSUtils.java:389) at org.apache.dolphinscheduler.common.utils.OSUtils.createMacUser(OSUtils.java:308) at org.apache.dolphinscheduler.common.utils.OSUtils.createUser(OSUtils.java:268) at org.apache.dolphinscheduler.common.utils.OSUtils.createUserIfAbsent(OSUtils.java:248) at org.apache.dolphinscheduler.server.worker.processor.TaskExecuteProcessor.process(TaskExecuteProcessor.java:143) at org.apache.dolphinscheduler.remote.handler.NettyServerHandler.lambda$processReceived$0(NettyServerHandler.java:129) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ``` ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
