On Thu, 2009-02-12 at 00:51 -0700, Nicholas Blatter wrote: > Something I need on a semi-regular basis is a tool to make a user > change their password when they log in. I ended up hacking together a > shell script that's called from the user's ~/.gnomerc and runs > gnome-terminal full screen (this was on Ubuntu), but I remember > thinking at the time it would be nice to have a window manager > agnostic tool that would a) look better and b) work better. I was > actually thinking of trying to learn enough Python and one of its GUI > libraries to bust out something to do the job, but maybe something > like Qt would work as well as that or better. My original idea was > running something via Xsession.d so it launches right after they log > in, but that's about as much thought as I've given it.
Why are you even creating a program at all? This can be handled by gdm. If you're using local accounts, just use chage to expire passwords. If you're using centralized accounts, you might need to do extra PAM configuration, but it's still the right approach. -- When you tell me I should give proprietary software a fair technical evaluation because its features are so nice, what you are actually doing is saying "Look at the shine on those manacles!" to someone who remembers feeling like a slave. -- Eric S. Raymond -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list
