- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise Software
- >
- Re: Fix: Tasks not executing, [sudo] password for ...
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2022 02:27 AM
05-04-2022 02:27 AM
Fix: Tasks not executing, [sudo] password for morpheus-app
Problem
Following error when running Shell Script Automation tasks on the Local Execute Target
Task Execution Failed on Attempt 1
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.[sudo] password for morpheus-app: Sorry, try again.
[sudo] password for morpheus-app:
sudo: no password was provided
sudo: 1 incorrect password attempt
Root Cause
Default Morpheus installations set NOPASSWD:ALL for the morpheus-app user. If there is a password required for the morpheus-app user this will cause the above problem. If /etc/sudoers.d/80-morpheus-app is missing on the Morpheus appliance application nodes this is likely the cause for the morpheus-app user missing the NOPASSWD:ALL configuration.
Solution
- morpheus-ctl stop morpheus-ui
- morpheus-ctl reconfigure
- morpheus-ctl start morpheus-ui
And then check if 80-morpheus-app is created.
- Tags:
- automation
- fix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2022 04:51 AM
05-04-2022 04:51 AM
Re: Fix: Tasks not executing, [sudo] password for morpheus-app
It is not required for morpheus-app to be able to to sudo to root just to morpheus-local