Heya, it's 10-11-12 or 10/11/12. You and I, we going to be a part of history. When the date will comeback again we will be history ourselves! :P So enjoy it!

Today I am going to post a follow up on my previous post How to keep the fancy warning message of sudo forever. On that post I wrote about how to enable the warning message forever when using sudo. Now I'm going to write about how the change the warning message and personalize it on your own.

It's so simple. Just create a file called lecture inside /etc/sudoers.d/. You can use the command below.

sudo touch /etc/sudoers.d/lecture
Now edit the file with your favorite text editor in root mode and write your own warning message. Mine is nano.
sudo nano /etc/sudoers.d/lecture
Finally we will have to edit the file we have created on the previous post to enable the custom warning message option.
sudo nano /etc/sudoers.d/local.conf
Append the below line at the end of the file:
Defaults        lecture_file = /etc/sudoers.d/lecture
Voila, You are done. Close your Terminals and reopen it. Now try to do something with sudo and you will see the warning message of your own.

Enough for today. You guys enjoy the 10-11-12. Also don't forget to tell how the tips is and what do you think about this type of fancy things!

What's on your mind?



I was more than happy to uncover this great site. I want to to thank you for your time for this particularly fantastic read!! I definitely loved every bit of it and I have you bookmarked to check out new stuff in your website.

madden nfl mobile coins buy commented about 20 hours ago

Good day! I could have sworn I've been to this website before but after looking at a few of the posts I realized it's new to me. Anyways, I'm certainly happy I found it and I'll be book-marking it and checking back regularly!

centurionbedandbreakfast.co.za commented 4 days ago

Pretty! This was an incredibly wonderful post.

Thank you for supplying this information.


Valuable information. Lucky me I discovered your website accidentally, and I am surprised why this twist of fate didn't happened in advance! I bookmarked it.


What's up, all the time i used to check weblog posts here early in the daylight, for the reason that i like to gain knowledge of more and more.