Re: How to create extention for GDM login screen?



GDM mode does not run or allow gnome-shell extensions. Sorry.


On Tue, Feb 18, 2014 at 7:25 PM, Reyad Attiyat <reyad attiyat gmail com> wrote:
I'd like to know how to make an extension when gnome-shell is in GDM
mode. From my understanding for how current extensions work is they
override functions that global variables have defined. Is there a
global that would let me override functions such as GDM/AuthPrompt.js
or GDM/Util.js. I can see why this might be dangerous behavior and is
not supported. The idea of extensions snooping passwords is one is
possible malicious use. The reason I was wondering is I was trying to
develop a graphical/pattern login for GDM and not sure what the best
way to distribute it is.

I was also wondering if there is a way to access the PAM service
modules through a GDM public api. When I developed the graphical login
method for GDM I made a simple PAM service module and a GObject
wrapper that called pam_authenticate, pam_start and such.  Is all that
needed or can some other libabry be used to authenticate users by
other means? In other words do I need to use PAM service modules/PAM
GObject to authenticate users or can GDM be used for this?

My code lies here.
https://github.com/soda0289/GraphAuth/
I'd really like to know the proper implementation for this as mine
feels bloated with all the PAM calls. I'm guessing I couldn't use
something like gnome-keyring to store user passwords because in GDM
mode no user is logged in.
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-shell-list



--
  Jasper


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