Posted on 02-08-2019 12:45 PM
Does anybody have a current solution to deploying LastPass via policy? Recently they started making their enterprise installer use a .app instead of a .pkg, and their official guide is to download the ZIP to the user's machine and then run
unzip lpmacosx.zip
sudo LastPass Installer.app/Contents/MacOS/LastPass Installer -si
Then have your users manually approve the plugins on the browsers they use (this part seems unavoidable)
I was wondering if anybody else has run into this and if they have a recommended way that they deploy LastPass since the last thread I can find about it is from 2015
Posted on 02-08-2019 02:57 PM
There are two LastPass items, the browser plug-in and the Mac App Store;
Posted on 01-30-2020 01:11 PM
Just to refresh the info on this thread, LastPass sent out a notification yesterday that they are discontinuing the distribution of their application through the Mac App Store.
Please download this new version before February 29, 2020, to get the latest LastPass Mac App experience. After this date, the legacy Mac App (downloaded through the Apple App Store) will continue to function but will no longer be supported or receive security updates. Your experience will continue uninterrupted with the new app download. For more information, read these FAQs on our Support site.
Posted on 03-28-2020 09:06 PM
I push the browser extension through a configuration profile for both Chrome and Edge. Actually landed on this search while looking for a way to change the settings of the browser extension. Anyone know?
Posted on 10-22-2020 12:30 PM
I'm about to start testing the commands on this page https://admin.lastpass.com/uac/advanced/installSoftware with an empty package installer or just a script in policy - Ill share if I have success!
Run the following commands from a Terminal:
Safari 1 :
curl -s "https://download.cloud.lastpass.com/mac/installer/safari.sh" | bash
Google Chrome 2 :
curl -s "https://download.cloud.lastpass.com/mac/installer/chrome.sh" | bash
Firefox 3 :
curl -s "https://download.cloud.lastpass.com/mac/installer/firefox.sh" | bash
1: Safari installer installs the latest LastPass macOS application
2: Google Chrome extension installer needs administrator rights to access Chrome's install directory
3: Firefox extension installer needs Python version 2.7 or greater
After running the command, some browsers may open and provide additional installation instructions:
Posted on 10-26-2020 09:26 AM
@dhorsfall I tried you command line for chrome and I get this error
bash: line 12: /Library/Application Support/Google/Chrome/External Extensions/hdokiejnpimakedhajhdlcegeplioahd.json: Permission denied
Posted on 10-26-2020 11:23 AM
@Harrie Do you run it with the correct privileges? As you need administrator rights.
Posted on 10-27-2020 03:09 AM
@txhaflaire hey Thijs, yes as admin
Posted on 10-27-2020 03:19 AM
@Harrie Seems that i do have the same when i test it. i opened the .sh script for Chrome and run it locally and that seems to work (as admin)
funky is that there is no check if $INSTALL_PATH already exists instead of just creating it.
#!/bin/bash
INSTALL_PATH="/Library/Application Support/Google/Chrome/External Extensions"
EXT_ID="hdokiejnpimakedhajhdlcegeplioahd"
if [ -f "$INSTALL_PATH/$EXT_ID.json" ]; then
echo "LatPass is already in Chrome External Extensions folder, nothing to do. "
exit 0
fi
mkdir -p "$INSTALL_PATH"
cat <<JSON > "$INSTALL_PATH/$EXT_ID.json"
{
"external_update_url": "https://clients2.google.com/service/update2/crx"
}
JSON
chown root:admin "$INSTALL_PATH/$EXT_ID.json"
chmod 644 "$INSTALL_PATH/$EXT_ID.json"
Posted on 10-27-2020 03:32 AM
Hi Thijs, ill try this script
Posted on 12-02-2020 03:02 PM
@txhaflaire - seems like creating the path would be a good thing... no? Wouldn't you be able to deploy the extensions ahead of time so that they're present if the user adds Chrome or Firefox?
I added it in Edge using its app configuration as @vanschip-gerard mentioned; I'm not deploying Chrome or Firefox for users, but I'd like to have the extension sitting there waiting for them.