'-r' reset option requires a profile
Bug #191991 reported by
Alex Mauer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
auth-client-config (Ubuntu) |
Invalid
|
Undecided
|
Jamie Strandboge |
Bug Description
Binary package hint: auth-client-config
the '-r' option to auth-client-config requires that a profile be specified as well. There's no reason for this to be the case.
To post a comment you must log in.
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.