summaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)AuthorFilesLines
2018-01-11Expose the automatic login users as a daemon property.Robert Ancell1-0/+10
This stops us having to iterate across each user to find which users are configured for automatic login. Currently we only support 0 or 1 automatic login user, but this allows us to support multiple in the future if required. Since D-Bus doesn't have nullable types [1] this also makes it easier to support the 0 case. https://bugs.freedesktop.org/show_bug.cgi?id=104564 [1] https://bugs.freedesktop.org/show_bug.cgi?id=27857
2017-12-20Don't override DefaultStandardOutputAlessio Treglia1-1/+0
Do not override default DefaultStandardOutput in /etc/systemd/systemd.conf as it could be helpful for sysadmins to determine how output gets logged.
2017-11-29Remove duplicate D-Bus annotationRobert Ancell1-1/+0
2017-10-27daemon: add new HasMultipleUsers and HasNoUsers propertiesRay Strode1-0/+20
Every gnome-shell instance wants to know if the system has multiple users or not, in order to know whether or not to show the 'Switch User' feature in the menu. accountsservice doesn't provide this information directly, though, so libaccountsservice instead requests a list of all users on the system and counts the provided list, filtering out system users. This is a lot of work for every gnome-shell instance to do, when it doesn't actually need the list of users at all. This adds a new property HasMultipleUsers which libaccountsservice can watch for instead. For good measure, this commit also adds a HasNoUsers boolean which can be used to know whether or not to start gnome-initial-setup. https://bugs.freedesktop.org/show_bug.cgi?id=103488
2017-08-18data: require an adminstrator password to change own passwordRay Strode1-3/+3
We need to enforce this, because otherwise we're allowing the user to bypass password sanity enforcement rules. This commit changes the newly added change-own-password action to be auth_admin. https://bugzilla.gnome.org/show_bug.cgi?id=97518 Notes: Should be https://bugs.freedesktop.org/show_bug.cgi?id=97518
2017-08-18Allow a user to change their own password without adminDavid Edmundson1-0/+10
Introduces a new action with default state auth_self to be used by SetPassword and SetPasswordMode when changing ones own password. https://bugs.freedesktop.org/show_bug.cgi?id=97518
2017-03-27user: export password expiration numbers from shadow fileRay Strode1-0/+10
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
2016-06-01systemd: disable GVFS supportRay Strode1-0/+3
accountsservice doesn't need support for GVFS modules, and those modules lead to /root/.cache getting created at startup. accountsservice runs as root, but shouldn't be touching /root. This commit disables GVFS for accountsservice https://bugs.freedesktop.org/show_bug.cgi?id=96316
2016-05-20Allow remote/inactive users to change their own data.Alkis Georgopoulos1-2/+2
https://bugs.freedesktop.org/show_bug.cgi?id=94895
2015-03-16accountsservice: Add SetPasswordHint functionJuan A. Suarez Romero1-0/+35
So far the only way of setting the password hint is by setting also the password. But there are several cases where setting the password isn't done through AccountsService, but still we want to set the password hint. For instance GDM setups the pasword for new used directly from PAM. Thus, let's add a new function to set the hint without changing the password. https://bugs.freedesktop.org/show_bug.cgi?id=89588
2014-10-17systemd: ensure that accounts service starts after NSS initializesStephen Gallagher1-0/+6
The various NSS calls don't give accurate results in some configurations until midway through boot up. This is because SSSD or winbind (or whatever) needs to initialize. In order to prevent accounts service from using NSS prematurely, we need to add an ordering constraint between the nss-user-lookup.target and accountsservice. This commit accomplishes this by adding the appropriate Wants= and After= directives to the accountsservice systemd unit file.
2014-05-07data: Fix desktop-centric polkit policyStef Walter1-6/+6
Change the polkit policy so accountsservice allows use of the DBus API by admin users that are not logged in via a monitor+keyboard. This includes users logged in via ssh or Cockpit. https://bugs.freedesktop.org/show_bug.cgi?id=78279
2012-11-12accountsservice: Add User.LoginHistory propertyOndrej Holy1-0/+17
The login history for this user. Each entry in the array represents a login session. The first two members are the login time and logout time, as timestamps (seconds since the epoch). If the session is still running, the logout time is 0. https://bugs.freedesktop.org/show_bug.cgi?id=55915
2012-11-12accountsservice: Add User.LoginTime propertyOndrej Holy1-0/+10
This commit reports the last login time of the user. https://bugzilla.gnome.org/show_bug.cgi?id=681772
2012-08-16Add User.Local dbus propertyStef Walter1-0/+10
This property describes whether the user account is local to the machine or not, and thus can be managed with usermod, userdel and so on. We currently implement this as a heuristic. If it's found in /etc/passwd then we treat it as 'local' https://bugs.freedesktop.org/show_bug.cgi?id=51037
2012-07-24add CacheUser() and UncacheUser() methodsStef Walter1-0/+51
This commit introduces a CacheUser() method, which explicitly makes a user show up in the results of a ListCachedUsers call provided the user is otherwise known to the system. This commit also introduces an UncacheUser() method to undo what CacheUser() does. https://bugs.freedesktop.org/show_bug.cgi?id=50770
2011-09-04Fix doc formattingMatthias Clasen1-4/+4
2011-04-11Add a 'system-account' property to usersMatthias Clasen1-0/+12
Even though ListCachedUsers filters out these users, they can still show up on the client-side, e.g. via UserAdded signals. Adding a boolean property to mark them as system accounts lets us filter them them out without regetting the entire list all the time.
2011-03-17daemon: drop supervised user conceptDavid Zeuthen2-12/+0
It's not very well fleshed out now, so don't ever infer an account as supervised, and stop publicizing SUPERVISED as an acceptable account type.
2011-03-17policy: Improve policy stringRay Strode1-1/+1
Change Administer user accounts to Manage user accounts https://bugs.freedesktop.org/show_bug.cgi?id=34086
2011-03-08daemon: add XSession property to dbus-glib gooRay Strode1-0/+10
It had information about the SetXSession method, but not the XSession property
2011-02-01daemon: Add api for storing/retrieving sessionRay Strode1-0/+40
This is useful for display managers to know what session to log the user into.
2010-07-22Remove unused UserChanged signalMatthias Clasen1-13/+0
This was never emitted, we have the Changed signal for individual users instead.
2010-07-21Install systemd unit filesLennart Poettering3-2/+30
See https://bugs.freedesktop.org/show_bug.cgi?id=29193
2010-03-25Drop SetIconDataMatthias Clasen1-64/+0
...and the gdk-pixbuf dependency that comes with it. The responsibility for saving image data as a png lies now with the clients.
2010-03-25Always require admin privs for changing usernamesMatthias Clasen1-5/+1
Even when changing your own username.
2010-03-25Change handling of account lockingMatthias Clasen1-0/+8
Allow changing password mode or setting a password even when the account is locked, and unlock it as a side-effect.
2010-03-24Remove special handling for setting your own passwordMatthias Clasen1-4/+1
This is no longer needed, the accounts-dialog uses /usr/bin/passwd directly in this case.
2010-01-29Fix some issues in the docsMatthias Clasen1-11/+12
2010-01-22Set account type when creating usersMatthias Clasen1-1/+21
2010-01-21Streamline privilegesMatthias Clasen3-83/+26
Now there is just set-login-options, set-own-user-data and user-administration.
2010-01-20First cut at api docsMatthias Clasen2-47/+773
2010-01-20Add 'automatic-login' as a user propertyMatthias Clasen2-0/+17
...also make the accounts-daemon rewrite the corresponding gdm configuration, since gdm is not allowed to do it itself.
2010-01-15Fix a typo and make distcheck workMatthias Clasen1-1/+5
2010-01-12initial commitMatthias Clasen6-0/+336