Prompting user for password with perl



Hey folks,

I'm trying to write a script to prompt OpenVPN users for credentials with the GNOME password prompt.  The same one that pops up when one tries to ssh to a host when one's ssh agent credential cache is cold, or when one opens virt-manager as a non-root user.

Can has help?

One of the complicating factors is that Gcr-3.typelib has a version of 3.broken or some such, which makes it impossible to import.  I think this bug has something to do with it:

https://bugzilla.gnome.org/show_bug.cgi?id=725501

Do any of you use Gcr?  Do you have examples I could mooch off of you?

Sincerely,

C.J.



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