Disable or change sudo lecture at frist run? "We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:"

On first run of sudo the user is shown:

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

I think this message has outlived its usefulness on nowadays computers which are used by one person only. Also otherwise it seems not useful, effective. Just a piece on the pile of things that confuse users.

It is possible to disable this message using sudo config.

Defaults  lecture="never"

Disabling could be added to package usability-misc.

Or we could replace it with a text of our choice.

Defaults  lecture_file="/path/to/file"

Custom message could be added to package whonix-base-files. A custom message could include more helpful information. Perhaps default password?

2 Likes

Archaic and a plain waste of space we can put to good use.

yes

1 Like

Disabled:

Could be set to something else in whonix-base-files.

Useful? Since when using a terminal (emulator) the user is shown the sudo password anyhow.

Perhaps if new users use the terminal emulator a lot and then sudo they might have forgotten that so good to remind the first time using sudo what the default password is?

2 Likes

Yes very informative.

1 Like
1 Like
1 Like