[squid-users] How can I change the location of the kerberos cache file?

Tom Tom tomtux007 at gmail.com
Tue Jun 23 04:39:55 UTC 2015


OK, I think you mean the RCACHE.
You can change the location with exporting the
KRB5RCACHETYPE-variable. Have a look here:
http://web.mit.edu/kerberos/krb5-1.11/doc/basic/rcache_def.html

For disabling it, you can:
$ export KRB5RCACHETYPE=none


Regards,
Tom


On Mon, Jun 22, 2015 at 8:27 PM, Michael Pelletier
<michael.pelletier at palmbeachschools.org> wrote:
> It did not work. I exported the variable and started squid but it still used
> the old file....:-(
>
> On Mon, Jun 22, 2015 at 1:54 PM, Tom Tom <tomtux007 at gmail.com> wrote:
>>
>> You can export the variable KRB5CCNAME, where you can specify the
>> kerberos cache file location.
>> For example: $ export KRB5CCNAME=/home/testuser/krb5_cache_file_$(id -u)
>>
>> Regards,
>> Tom
>>
>> On Mon, Jun 22, 2015 at 5:48 PM, Michael Pelletier
>> <michael.pelletier at palmbeachschools.org> wrote:
>> > Hello,
>> >
>> > Squid is keeping the kerberos cache file in /var/tmp. How can I change
>> > the
>> > location?
>> >
>> > # ls -al /var/tmp/
>> > total 864
>> > drwxrwxrwt.  3 root  root   36864 Jun 22 11:43 .
>> > drwxr-xr-x. 22 root  root    4096 May  9 23:55 ..
>> > -rw-r--r--   1 root  root       0 Jun 21 20:09 .fsrlast_xfs
>> > drwx------.  2 root  root   16384 May  9 19:01 lost+found
>> > -rw-------   1 squid squid 823779 Jun 22 11:43
>> > SVC-137Proxy-137Kerb-137Auth_23
>> >
>> > Thanks in advance,
>> > Michael
>> >
>> > Disclaimer: Under Florida law, e-mail addresses are public records. If
>> > you
>> > do not want your e-mail address released in response to a public records
>> > request, do not send electronic mail to this entity. Instead, contact
>> > this
>> > office by phone or in writing.
>> >
>> >
>> > _______________________________________________
>> > squid-users mailing list
>> > squid-users at lists.squid-cache.org
>> > http://lists.squid-cache.org/listinfo/squid-users
>> >
>
>
>
> Disclaimer: Under Florida law, e-mail addresses are public records. If you
> do not want your e-mail address released in response to a public records
> request, do not send electronic mail to this entity. Instead, contact this
> office by phone or in writing.


More information about the squid-users mailing list