[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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org