Displaying errors to users

seph <[email protected]>
Newsgroups gmane.comp.tools.sudo.user
Message-ID <1510630351.380029.1171602296.20D14E6F@webmail.messagingengine.com>
In my environment, users have a large set of whitelisted commands, and
everything else is denied by default.

For usability sake, I'd like sudo to tell them when something is denied.
It does exit with an error code of 1, but that's pretty subtle.

I notice that sudo will error if the command is blocked, so I can hack
something with: 
> ALL ALL=(ALL:ALL) NOPASSWD: !ALL
> %group ALL=(ALL:ALL) NOPASSWD: COMMAND_LIST

But I'm hoping there's something cleaner.

help?

-- 
  seph
  [email protected]
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.