On Wed, Dec 02, 2015 at 11:30:22AM +0100, Sumit Bose wrote:
On Wed, Dec 02, 2015 at 07:48:59AM -0000, olle Hansson wrote:
> Hi all,
>
> I've noticed that tickets do not get renewed if the user logs out. Is this
intentional even if the ticket cache is stored in the user home?
> If so is there any way to make sssd renew tickets even for users who no longer have
a session open on the server so they can run cron jobs etc?
yes, this is intentional. SSSD checks if there is still a process of the user
running on the system before renewing a ticket. If a put a 'sleep
999999' in the background before you log out SSSD should try renew the
ticket while you are not logged in.
Would this work also in systemd with systemd-logind? I thought we
switched to checkig if there is a session instead (but I also remember
there were some concerns over sudo and su not being treated as opening a
session, so I don't remember what the outcome was..)