diff options
author | Ray Strode <rstrode@redhat.com> | 2017-03-27 13:51:07 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2017-03-27 13:53:24 -0400 |
commit | 60fb4c447fd9b350ca5bb4876ed35311d8cd1d99 (patch) | |
tree | 461344815611f766e86a31f262517f8a9f9031a6 /data | |
parent | 8474f43d7c8a3df2deec950a10cd1e04ac6a564d (diff) |
user: export password expiration numbers from shadow file
If the desktop wants to display a notification about pending password
expiration it needs some way to query that information from the user.
This commit reads those numbers from shadow and makes them available
to the caller.
https://bugs.freedesktop.org/show_bug.cgi?id=100421
Diffstat (limited to 'data')
-rw-r--r-- | data/org.freedesktop.Accounts.User.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/data/org.freedesktop.Accounts.User.xml b/data/org.freedesktop.Accounts.User.xml index a6a8b5e..4ab989a 100644 --- a/data/org.freedesktop.Accounts.User.xml +++ b/data/org.freedesktop.Accounts.User.xml @@ -568,6 +568,16 @@ </doc:doc> </method> + <method name="GetPasswordExpirationPolicy"> + <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> + <arg name="expiration_time" direction="out" type="x"/> + <arg name="last_change_time" direction="out" type="x"/> + <arg name="min_days_between_changes" direction="out" type="x"/> + <arg name="max_days_between_changes" direction="out" type="x"/> + <arg name="days_to_warn" direction="out" type="x"/> + <arg name="days_after_expiration_until_lock" direction="out" type="x"/> + </method> + <property name="Uid" type="t" access="read"> <doc:doc> <doc:description> |