[OpenAFS-port-darwin] OS X: afs tokens at login
Duncan S Kincaid
dsk@MIT.EDU
Mon, 2 Jun 2008 12:14:31 -0400
caudio
loginhook is run by root (hence the required 'su' in line below) in
the very earliest stages of the user login procedure.
more info on loginhook can be found here:
<http://docs.info.apple.com/article.html?artnum=301446>
ciao
dk
On Jun 2, 2008, at 4:19 AM, Claudio Bisegni wrote:
> hi derrick and Duncan,
> do you know if loginhoock occur befor or after mi launchd login
> startup hack?
> i was thinking also to the prelogin launchd agent as described in
> one apple tutorial.
> On 02/giu/08, at 06:51, Derrick Brashear wrote:
>
>> On Sun, Jun 1, 2008 at 10:14 PM, Duncan Kincaid <dsk@mit.edu> wrote:
>>> ciao claudio
>>>
>>> our solution is to use mac os x 'loginhook'.
>>> the script called by loginhook needs to have this one line:
>>> `su "$1" -c /usr/bin/'aklog -cell cellnamehere'`
>>>
>>
>> I thought Leopard broke loginhook. I guess tomorrow I should just set
>> up a host to try this on permanently.
>> _______________________________________________
>> port-darwin mailing list
>> port-darwin@openafs.org
>> https://lists.openafs.org/mailman/listinfo/port-darwin
>
> ----------------------------------------------------------------
> Claudio Bisegni
> mail: claudio.bisegni@lnf.infn.it
> Fotografie: http://www.flickr.com/photos/jacod/
>
>