Comment 1 for bug 191991

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thank you for reporting this issue and helping make Ubuntu even better. The reason '-r' requires the profile name is to aid packaging scripts and for safety. Consider when multiple packages add auth-client-config profiles. If one is removed, it removes the profile and will reset the profile. Without a profile name for reset, the files will get reset automatically, which may not be desired (eg, the user is using a different acc profile provided by another package). Also, consider when the user uses auth-client-config to update nsswitch.conf and the user later updates nsswitch.conf manually. If the user then tries to use auth-client-config to reset the profile and a profile is not specified with '-r', auth-client-config would remove the user's manual changes. Requiring the profile name prevents this.