It's not useless, it is used by /etc/bash.bashrc to know whether or not to print the help message if the user has not used sudo before.
As for moving the file to xdg-cache, please file a bug with the upstream developers here: https://bugzilla.sudo.ws/index.cgi Once the bug has been filed, please attach it here. Thanks! ** Changed in: sudo (Ubuntu) Importance: Undecided => Wishlist ** Changed in: sudo (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to sudo in Ubuntu. https://bugs.launchpad.net/bugs/1581030 Title: Please drop --enable-admin-flag Status in sudo package in Ubuntu: Triaged Bug description: Debian doesn't compile with this flag, imho on desktop it is useless and clutters my home folder with .sudo-as-admin-succesful, at least move it to xdg-cache or something. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1581030/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp