Are there prerequisites to install a BCM Agent on Mac OS X? Can I install the agent with a sudo account |
As of now (12.9) it is not possible to install a rollout in the push mode without having enabled ssh for the root account on the Mac OS X targets. 1- To enable the account "root": A - From the System Preferences: - From the "Apple" menu choose "System Preferences…".
- From the "View" menu choose "Users & Groups". - Click the lock and authenticate as an administrator account. - Click Login Options…. - Click the "Edit…" or "Join…" button at the bottom right. - Click the "Open Directory Utility…" button. - Click the lock in the Directory Utility window. - Enter an administrator account name and password, then click OK. - Choose "Enable Root User" from the "Edit" menu. - Enter the password you wish to use for "root" in both the Password and Verify fields, then click OK. B - From the Terminal: - open a terminal
- run the following command: $ sudo dsenableroot
2- To enable sshd: - Open System Preferences (you’ll find on the right of the dock) and click on “Sharing”
Source: http://www.ernieflores.net/osx-page-2/enable-remote-login-to-start-ssh-server-in-osx/- Select the checkbox next to “Remote Login” to enable it 3- Enable "root" to log in sshd: - Open a terminal (go in the upper bar > Go > Utilities > Terminal )
- Type either one of these commands, depending of the version of Mac OS X that is being used, in the terminal to edit the ssh daemon’s properties # vi /private/etc/sshd_config
or
# vi /etc/ssh/sshd_config
- Uncomment the line « PermitRootLogin yes »
- Restart the ssh daemon: A- the old way, that is deprecated in the latest versions of MAC OS X:
# SystemStarter restart sshd
B- the new way:
# launchctl unload com.openssh.sshd
# launchctl load com.openssh.sshd C- the newest way:
sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist
sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist 4- Manage the service of BMC Client Management (and its older versions)
A- In the past the BCM agent service was located in /Library/StartupItems/BMCFootPrintsAssetCoreAgent/ . If this case start it by running this command line as root: # SystemStarter start BMCFootprintsAssetCoreAgent
Stop it:
# SystemStarter stop BMCFootprintsAssetCoreAgent
B- In more recent versions it is located here: /Library/LaunchDaemons/ . If this case start it by running this command line as root: # launchctl load /Library/LaunchDaemons/BMCClientManagementAgentClient.plistBMCFootPrintsAssetCoreAgent.plist
or this one if running an older version ofthe BCM agent:
# launchctl load /Library/LaunchDaemons/BMCFootPrintsAssetCoreAgent.plist
To stop it:
# launchctl unload /Library/LaunchDaemons/BMCClientManagementAgentClient.plist
or:
# launchctl unload /Library/LaunchDaemons/BMCFootPrintsAssetCoreAgent.plist
Note: Do not hesitate to vote for this idea to request sudoers to be able to install rollouts, instead of root. |