Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
None
-
None
-
2016-21
Description
remote_command.sh uses the $USER environment variable to find which user to SSH to. If 'sudo' is used or 'su' without '-l' in CentOS 7 (probably Ubuntu too) then $USER evaluates to the unprivileged user, not root. This can cause installations to fail.
I would recommend using 'whoami' instead. Or postConfigure should ask what username to use.
Attachments
Issue Links
- is duplicated by
-
MCOL-702 multi node package install with non login su won't start
- Closed