schorschii / LAPS4LINUX

Local Administrator Password Solution (LAPS) - implementation for Linux, macOS and Windows with additional features
GNU General Public License v3.0
54 stars 19 forks source link

macOS - runner #24

Open tlcarpenter opened 1 year ago

tlcarpenter commented 1 year ago

Is there a preferred configuration for the runner on macOS, i.e. specific directories where laps-runner.py should be installed, permissions it should have, how it should be run (cron or launchd), etc.?

schorschii commented 1 year ago

Currently, the runner only supports Linux, but it should be possible to port it to macOS. I'll keep this issue open as feature request.

schorschii commented 5 months ago

Here is a short update: I did a first test on macOS. One problem is that macOS requires to enter the old password, even when using passwd as root on the command line. There is no change to bypass this without entering recovery mode. So the runner needs to be adjusted to query the old password first before setting a new one.