some comments (some maybe irrelevant, but some that might be...) lynn wrote:
auth required pam_env.so <--- 1st access to your net when login vector is available auth optional pam_gnome_keyring.so auth sufficient pam_unix.so try_first_pass auth required pam_sss.so use_first_pass session required pam_limits.so session required pam_unix.so try_first_pass session optional pam_sss.so session optional pam_umask.so session optional pam_systemd.so session optional pam_gnome_keyring.so auto_start only_if=gdm,gdm-password,lxdm,lightdm session optional pam_env.so <---- sessions: can be many, but login vector is no longer available
A few Q's I had: 1: what do you use pam_env for? The examples that are included show it being used for setting REMOTEHOST (holding where you locked in from), and from that, setting DISPLAY to point to the real 'remotehost' that you want your display redirected to. CAUTION:, if your session is NOT over a private ethernet, then you likely want your DISPLAY traffic encrypted, and forwarding through ssh is advised, but if you are on a private net, not having 'X' go through ssh can give a 3-5X performance boost depending on the speed your net and cpu's. Given the above caution, if you want to keep your path to your original host open, calling pam_env.so as part of session (a bug as far as I'm concerned, -- added in 12.2 or .3, I believe). 2) Do you really want all that extra stuff to be "optional" in "session". Your "pam_sss" handles auth -- I have In my common auth, I have: auth optional pam_env.so auth sufficient pam_winbind.so auth required pam_unix.so try_first_pass in common session, I have session optional pam_umask.so #session optional pam_env.so debug #from debugging losing my DISPLAY... session required pam_limits.so session sufficient pam_winbind.so ### might pam_sss be sufficient session required pam_unix.so try_first_pass ## (and before pam_unix) Is systemd optional for your sessions to work? Should it be listed as "required" or "requisite". As for the ordering on the lines in your "auth" section... You have the opposite of what I have -- i.e. pam_unix you have as sufficient (should it be? it might not process or get to your pam_sss -- i.e. it looks like your local accounts can override whatever "sss" says (which may be what you want, dunno). Justification for my choice: local access trumps a failing winbind, so while winbind (or sss in your casE) is sufficient, if it isn't there, it's like local-login. Whereas in yourcase, it looks like if local-login works, then don't require or bother with network lookups Don't know about the other details, but thought I'd point out mine, as I can see similarities... Good luck! -linda -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org