On 04/09/2015 12:46 PM, Alfred von Campe wrote:> What I am really looking for is where gdm (or whatever) caches > the list of users who have previously logged in to a system. I > have tried the brute force approach (grep -R) without success.It's a dbus service. # rpm -qf /etc/dbus-1/system.d/org.freedesktop.Accounts.conf accountsservice-0.6.39-2.fc21.x86_64 Documentation in: /usr/share/dbus-1/interfaces/org.freedesktop.Accounts.xml For example: $ dbus-send --system --type=method_call --print-reply \ --dest=org.freedesktop.Accounts \ /org/freedesktop/Accounts \ org.freedesktop.Accounts.ListCachedUsers
Gordon:> It's a dbus service.Interesting ? thanks!> # rpm -qf /etc/dbus-1/system.d/org.freedesktop.Accounts.conf > accountsservice-0.6.39-2.fc21.x86_64That file/RPM does not appear to be available on CentOS 6.> Documentation in: > /usr/share/dbus-1/interfaces/org.freedesktop.Accounts.xml > > For example: > $ dbus-send --system --type=method_call --print-reply \ > --dest=org.freedesktop.Accounts \ > /org/freedesktop/Accounts \ > org.freedesktop.Accounts.ListCachedUsersAlas, because it?s not available for CentOS 6, none of the above is available/appicable, so I?m back to square one. Alfred
On 04/10/2015 08:24 AM, Alfred von Campe wrote:> That file/RPM does not appear to be available on CentOS 6.Yeah, I *completely* spaced and thought you'd asked about 7. Less sure about 6. Maybe look at /var/cache/gdm ?