Re: [OpenAFS] Token gone after sudo?!

2016-01-08 Thread Alexander Lazarević
​Guys, thanks for the hints at where to look at.​ 2016-01-03 23:00 GMT+01:00 Sergio Gelato : > Defaults !pam_setcred ​Sergio, this works for me. Thanks for the solution and the reference to the bug report for ubuntu! Cheers, Alex​

Re: [OpenAFS] Token gone after sudo?!

2016-01-03 Thread Sergio Gelato
* Alexander Lazarević [2015-12-31 00:05:59 +0100]: > I just recently upgraded to ubuntu 15.10 and I am using the openafs > client 1.6.16-0ppa1~ubuntu15.10.2. With the switch to 15.10 I started to > notice tokens to "disappear". Ubuntu 15.10 "wily werewolf" uses libpam-afs-session 2.5-4. https://bu

Re: [OpenAFS] Token gone after sudo?!

2015-12-31 Thread Benjamin Kaduk
It's very likely to be an issue with the PAM configuration, yes. I think we've seen some cases where it was pam_afs_session that was misconfigured and not pam_keyring, but I didn't check the archives, myself. -Ben On Thu, 31 Dec 2015, Chas Williams wrote: > It's probably that your /etc/pam.d/sud

Re: [OpenAFS] Token gone after sudo?!

2015-12-31 Thread Chas Williams
It's probably that your /etc/pam.d/sudo is using pam_keyring.so to set up a new keyring when you sudo. Do a keyctl list @s before and sudo keyctl list @s and see if the keyring is being replaced. On Thu, 2015-12-31 at 00:05 +0100, Alexander Lazarević wrote: > Hi! >  > I just recently upgraded to

[OpenAFS] Token gone after sudo?!

2015-12-30 Thread Alexander Lazarević
Hi! I just recently upgraded to ubuntu 15.10 and I am using the openafs client 1.6.16-0ppa1~ubuntu15.10.2. With the switch to 15.10 I started to notice tokens to "disappear". The following is an example of how to reliable make tokens disappear for me: aklog; tokens; sudo ls /dev/null; tokens To