[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#656296: Patch for password syncing between LDAP/Kerberos/Samba in Debian Edu



[Mike Gabriel]
> So, I will address this then in this way...
>
>   o no $DISPLAY set -> output a line of text to stdout
>   o $DISPLAY set -> use kdialog/zenity/pynotify to show a message

That should not be neccessary.  There is a callback mechanism in PAM
to provide feedback to the user, and I suspect it can be used by
passwd and any GUI tool to show the message to the user.  See for
example how I do it in libpam-mklocaluser, look for "conversation" in
debian/pam-python.py.

-- 
Happy hacking
Petter Reinholdtsen


Reply to: