Web lists-archives.com

Re: [Samba] How to get password expiration?

On Fri, 3 Feb 2017 12:39:20 -0700
Jeff Sadowski via samba <samba@xxxxxxxxxxxxxxx> wrote:

> On my ubuntu machines I added
> auth    required        pam_exec.so /scripts/password_expire.sh
> to the beginning of /etc/pam.d/common-auth

That's where I was going wrong, I added it to common-session, but this
being Unix, I have found another way ;-)

On Mate (so should work on gnome as well), create a .desktop file
in /etc/xdg/autostart to run a script in /usr/local/bin and you get the
attached screenshot.

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba