Re: question about authselect

Francis Montagnac via users <[email protected]>
Newsgroups gmane.linux.redhat.fedora.general
Message-ID <20260605160630.50dd7a2d@fmpc>
On Fri, 5 Jun 2026 21:04:56 +1000 [email protected] wrote:

> Suppose I want to make a change in, say, nsswitch.conf. How do I
> properly do it such that authselect stays in the loop?

> Just edit the file manually, or is some magic needed?

Some magic needed yes, see the manuals of authselect and
authselect-profiles, but before creating a custom profile, check if
some feature of the local profile solves your problem.

See: authselect show local

The default (on my machine installed in F42) is:

    authselect current 
    Profile ID: local
    Enabled features:
    - with-silent-lastlog
    - with-fingerprint
    - with-mdns4

resulting in that for hosts in nsswitch.conf:

    grep hosts /etc/authselect/nsswitch.conf 
    hosts:      files myhostname mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns

-- 
francis
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.