Last active
June 2, 2022 13:31
-
-
Save lduboeuf/90f0f00a633555acf2f5126a55303546 to your computer and use it in GitHub Desktop.
Get/Set Account property via dbus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SET | |
dbus-send --system --print-reply --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User`id -u` org.freedesktop.DBus.Properties.Set string:'com.ubuntu.AccountsService.SecurityPrivacy' string:PinCodePromptManager variant:string:ClockPinPrompt | |
#GET | |
dbus-send --system --print-reply --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User`id -u` org.freedesktop.DBus.Properties.Get string:'com.ubuntu.AccountsService.SecurityPrivacy' string:'PinCodePromptManager' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment