On 9/14/20 12:11 PM, Kamil Paral wrote:
On Fri, Sep 11, 2020 at 7:03 PM Michael Catanzaro <mcatanzaro@xxxxxxxxx
<mailto:mcatanzaro@xxxxxxxxx>> wrote:
> If it is, what is the proper way to revert back to upstream defaults
> in this case? Should I append "--force" to the command? (I don't
want
> to destroy my system, that's why I'm not simply trying it. All of
> this seems awfully complex and fragile).
Yes, use --force. That tells authselect that it is OK to overwrite your
manual configuration. Otherwise, authselect is careful to not overwrite
files that have been edited manually.
Sigh, authselect is even more complicated than I thought. I can't simply
do "sudo authselect apply-changes --force". I need to do "sudo
authselect select $something --force" first, according to the man page.
And I have no idea what $something is. Can you please provide an exact
set of commands to run? Thanks.
apply-changes only works if you have valid authselect configuration (no
manual changes) and you edit /etc/authselect/user-nsswitch.conf or one
of the selected profile template.
If you need to restore previous configuration you can either use
backup-restore (if there is any backup, see backup-list) or you can use
'authselect current --raw' which will print you what authselect command
line was used.
authselect select `authselect current --raw` --force
The default in Fedora is 'authselect select sssd' with optional
with-fingerprint and with-mkhomedir.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx