CJ Keist wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

William,
   Thank you for your script and web link. I have questions on how the
scripts work in conjunction with AMGH.  I take it you would create the
tjamgh script and then run the utamghadm -s tjamgh?  Then that script
will take care of calling the realamgh.  Looking at the realamgh script
it looks to just echo out commands.  What is capturing those commands?
Also where do you look to see what all available commands are that you
can use? Where is the "$terminal_ip_addr" variable being set?

Sorry for all the questions, its just I cannot find any good
documentation on how all this works.

Did you read the man page:
man -M/opt/SUNWut/man ut_amgh_script_interface

This man page should be mentioned in the Administration Guide as well as my blog How-To.

Basically when you run utamghadm it configures your script to be run by SRSS, and AMGH provides the input and consumes the output to drive the redirection and PAM (for pre-loading the username) logic. AMGH is driven by the pam_sunray_amgh.so PAM module in /etc/pam.conf (or /etc/pam.d/gdm, on Linux).

William - why did you split realamgh from tjamgh? Why not just replace tjamgh with realamgh and keep it simple?

-Bob

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to