[Solved] How to list enabled features of an authselect profile?

Latest response

Hello folks,
From authselect(8) I found:

...
       list-features profile_id
           List all features available in given profile.

           Note: This will only list the features without any description. Please, read the profile documentation with show to see what the features do.
...
       enable-feature feature [-b] [--backup=NAME] [-q, --quiet]
           Enable feature in the currently selected profile.

           -b
               Backup system files before enabling feature. The backup will be stored at /var/lib/authselect/backups/NAME. Current time with unique string is used as a name of the backup. This is a shortcut for --backup=.

           --backup=NAME
               Backup system files before enabling feature. The backup will be stored at /var/lib/authselect/backups/NAME. Current time with unique string is used as a name if no value is provided.

           --quiet, -q
               The command will not print any informational message such as additional profile requirements or backup location. Errors are still being print.

       disable-feature feature [-b] [--backup=NAME]
           Disable feature in the currently selected profile.

           -b
               Backup system files before disabling feature. The backup will be stored at /var/lib/authselect/backups/NAME. Current time with unique string is used as a name of the backup. This is a shortcut for --backup=.

           --backup=NAME
               Backup system files before disabling feature. The backup will be stored at /var/lib/authselect/backups/NAME. Current time with unique string is used as a name if no value is provided.
...

So I can list available features, enable and disable them. But there is obviously no option to show enabled features for a certain profile, is it?

I would like to be able to check which features are enabled in a certain profile. But that's seems to be not possible unless I'm missing something here.

Do you think that would be a useful feature and worth the efford to write an RFE for it?

Best regards,
Joerg

Responses