[sudo-users] Change sudo Message

Gurveer Singh singh.gurveer88 at gmail.com
Tue Apr 10 06:38:09 EDT 2012


Hi All,

Can any one tell me how to change the sudo Message.

My conditions are as follow:

whenever user execute "sudo   fdisk -l ",  user will get following Message
because i prevent user to execute this command using sudo.

Message: "*Sorry, user ABC is not allowed to execute '/sbin/fdisk' as root
on HOSTNAME*"

And i want to change that message.

Thanks
Gurveer



More information about the sudo-users mailing list