[SunRay-Users] AMGH - unable to get started with "Getting
Started"
William Yang
wyang at tjhsst.edu
Fri Dec 5 17:25:48 EET 2008
I split the scripts for the reason I mentioned on the documentation wiki...at least when I was initially playing with it I found that any changes to the script registered with AMGH required a utrestart to work, as if AMGH were reading in the script at software startup time instead of on-demand.
--
William Yang
wyang at tjhsst.edu
----- Original Message -----
From: "Bob Doolittle" <Robert.Doolittle at Sun.COM>
To: "SunRay-Users mailing list" <sunray-users at filibeto.org>
Sent: Friday, December 5, 2008 11:09:49 AM GMT -05:00 US/Canada Eastern
Subject: Re: [SunRay-Users] AMGH - unable to get started with "Getting Started"
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
SunRay-Users at filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.filibeto.org/pipermail/sunray-users/attachments/20081205/e564d8df/attachment.html
More information about the SunRay-Users
mailing list