EricGao888 commented on issue #8295: URL: https://github.com/apache/dolphinscheduler/issues/8295#issuecomment-1031263958
> Reference in new issue > I think standalone maybe could just ignore the rule `sudo`, I would task a look later ``` [INFO] 2022-02-07 14:31:49.336 org.apache.dolphinscheduler.common.utils.OSUtils:[304] - create mac os user: eric [INFO] 2022-02-07 14:31:49.336 org.apache.dolphinscheduler.common.utils.OSUtils:[307] - create user command: sudo sysadminctl -addUser eric -password eric [ERROR] 2022-02-07 14:31:49.393 org.apache.dolphinscheduler.common.utils.OSUtils:[276] - sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper ``` * From the log above, it seems the cmd `sudo sysadminctl -addUser eric -password eric` causes the exception. * I tried to run the cmd without sudo, got some error message like this `sysadminctl[84263:9559332] sysadminctl should be run as root, or in interactive mode! (Error Domain=NSOSStatusErrorDomain Code=-60007 "errAuthorizationInteractionNotAllowed: The authorization was denied since no user interaction was possible. ")` -- 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]
