Results 1 to 6 of 6

Thread: How to persistently add howdy to pam

  1. #1
    Join Date
    Jan 2020
    Location
    Moscow
    Posts
    30

    Default How to persistently add howdy to pam

    Hello,

    There is a guide for setting up howdy on OpenSUSE https://en.opensuse.org/SDB:Facial_authentication
    But it suggests to manually add a line to pam config files, which has been working for me for about a year (/etc/pam.d/common-auth). However recently almost every update overwrites this config and I constantly lose my ability to authenticate with it.
    I have read the pam-config man page and explored YaST, could not find a way to add howdy "the right way" so it stays in place.

    How do I make howdy authentication method persistent?

  2. #2
    Join Date
    Sep 2012
    Posts
    6,790

    Default Re: How to persistently add howdy to pam

    Quote Originally Posted by Bitals View Post
    But it suggests to manually add a line to pam config files, which has been working for me for about a year (/etc/pam.d/common-auth). However recently almost every update overwrites this config and I constantly lose my ability to authenticate with it.
    I have read the pam-config man page and explored YaST, could not find a way to add howdy "the right way" so it stays in place.
    pam-config manages common-auth-pc file. By default common-auth is link to this file. If you break the link, then common-auth will no more be changed (of course you lose any future updates to default configuration installed by pam-config).

  3. #3
    Join Date
    Sep 2012
    Posts
    6,790

    Default Re: How to persistently add howdy to pam

    Quote Originally Posted by Bitals View Post
    https://en.opensuse.org/SDB:Facial_authentication ... suggests to manually add a line to ... /etc/pam.d/common-auth
    Where? I do not see it on this page.

  4. #4
    Join Date
    Jan 2020
    Location
    Moscow
    Posts
    30

    Default Re: How to persistently add howdy to pam

    Quote Originally Posted by arvidjaar View Post
    Where? I do not see it on this page.
    It does not point to that file specifically, but using it is universal (works for both sudo and GDM, for example). But it does only suggest manual config editing, which is volnurable to being overwritten.

    Quote Originally Posted by arvidjaar View Post
    pam-config manages common-auth-pc file. By default common-auth is link to this file. If you break the link, then common-auth will no more be changed (of course you lose any future updates to default configuration installed by pam-config).
    Well, losing updates on this config is not a good solution, I think. At this point it looks easier to automate the addition of howdy line, but I still hope to learn how to anchor it there.

  5. #5
    Join Date
    Sep 2012
    Posts
    6,790

    Default Re: How to persistently add howdy to pam

    Quote Originally Posted by Bitals View Post
    I still hope to learn how to anchor it there.
    You could simply include common-auth-pc into common-auth ... if you need to have special order, then the only real solution is to extend pam-config to support your module.

  6. #6
    Join Date
    Jan 2020
    Location
    Moscow
    Posts
    30

    Default Re: How to persistently add howdy to pam

    Quote Originally Posted by arvidjaar View Post
    You could simply include common-auth-pc into common-auth ... if you need to have special order, then the only real solution is to extend pam-config to support your module.
    Actually yes, that's a good solution. Feels bad I didn't think about it.
    Thanks!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •