Re: [gdm-list] Changing gdm messages



Thanks again ! I was actually able to get it working and wrote a tutorial about it that can be found here:
http://www.viguierjust.com/?p=144

The code of the PAM module can be found here:
http://github.com/guillaumev/libpam-ecafe/blob/master/src/pam_ecafe.c

If it helps some people...

Guillaume.

On 14/12/2009 19:34, Brian Cameron wrote:

Guillaume:

Thanks Brian. I'll look further into PAM modules. I guess it is, but just to make sure, is it the same for error messages ?

It depends on what error messages you are talking about. Most error
messages that relate to authentication being successful or not, or
messages regarding the user needing to update their password would be
from PAM.

You should be able to find out more information about PAM from the
pam.d or pam.conf manpage (different distros have different mechanisms
to configure PAM, but it is usually pam.d or pam.conf).

Brian


Guillaume.

On 14/12/2009 17:41, Brian Cameron wrote:
Guillaume:

Is there a way to change GDM messages (for example, let's say that I want to change the "Username" prompt into "Whatever") without recompiling it ?

Normally GDM just uses PAM (Pluggable Authentication Modules) to
drive the authentication conversation. Prompts provided to the
user come from PAM modules.

If you wanted to change the messages, you would need to write your own
PAM modules that provide different prompts. Or, check if the PAM
modules that you are currently using provide configuration options.

Note that PAM modules tend to differ between distros, so suggestions
that apply to one distro may not apply to another.

Brian




--
Guillaume Viguier-Just

"The wealth of the world’s 225 richest individuals equals the annual income of the bottom 47% of the world’s population, or 2.5 billion
people.", http://www.youthxchange.net/utils/download.asp?filename=YXC%20guide2007_04_lifestyles-4th.PDF

"To provide every child in the world with a primary education will cost an extra US$6 billion, the same as 4 days of global military spending.", http://www.youthxchange.net/download/guidechapters/YXC_guide2007_12_without-pain-4th.pdf



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