osx - Auto login on Mac OS through a process running as a daemon -
i have python script running daemon on mac os , keeps looking particular usb drive on system, if usb ejected, system locked using following command
/system/library/coreservices/menu\ extras/user.menu/contents/resources/cgsession -suspend
now after screen locked, script still running , still looking usb, possible unlock screen when usb inserted in system without having user enter password?
Comments
Post a Comment