Comment # 72 on bug 918226 from
(In reply to Manfred Schwarb from comment #70)
> Still OT, but:
> 
> you can suppress the PAM spam by editing /etc/pam.d/common-session-pc :
> 
> add the following _before_ the "session required pam_unix.so" line:
>   session [success=1 default=ignore] pam_succeed_if.so quiet use_uid service
> in crond user ingroup root
> 
> which means:
> - when success then skip one line (the pam_unix one), otherwise ignore
> - be quiet and use job UID, not authenticated UID
> - success if "service is crond" and "user is in group root"
> 
> HTH

I'm assuming that the stuff that goes into /etc/pam.d/common-session-pc is one
line, not two, right?


You are receiving this mail because: