Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Give users a lecture when they use gsudo. #332

Open
septsea opened this issue Feb 10, 2024 · 5 comments
Open

Feature Request: Give users a lecture when they use gsudo. #332

septsea opened this issue Feb 10, 2024 · 5 comments

Comments

@septsea
Copy link

septsea commented Feb 10, 2024

Description

One is supposed to use gsudo (or sudo) with care, so we are convinced that it is good to give users a lecture when they use gsudo. By "giving a lecture", I mean printing the following text.

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.

Proposed technical details

Printing the text above will work.

It will be better if users can determine whether the lecture is always shown or is shown just once.

@gerardog
Copy link
Owner

I obviously love and respect Unix/Linux sudo, but why this should be included in gsudo? Please convince me.

Also, should it keep the original text? Shouldn't it instead write an updated security warning, circa 2024?

As the author and maintainer... am I allowed to plug some text of my own in there? For example: Donate! give me money! for example. Ahh I already see you frown!

@septsea
Copy link
Author

septsea commented Feb 14, 2024

Also, should it keep the original text? Shouldn't it instead write an updated security warning, circa 2024?

Not necessarily; I guess that any warning that gives users a lecture is fine.


As the author and maintainer... am I allowed to plug some text of my own in there? For example: Donate! give me money! for example. Ahh I already see you frown!

I guess that most users will dislike it, but I do not really care. (I did not frown; instead I laughed a bit.)

(I really wanted to give you money, but "Donations to this recipient aren't supported in this country".)


I obviously love and respect Unix/Linux sudo, but why this should be included in gsudo? Please convince me.

There is no harm in giving users a lecture at least for the first time. No one says that there has to be a warning, but including this is better. I am just giving advice.

@gerardog
Copy link
Owner

gerardog commented Feb 20, 2024

The lecture could also improve the scenario described in #221.

@septsea
Copy link
Author

septsea commented Feb 20, 2024

You are right. Most users do not disable UAC themselves, but some do and still need some kinds of warnings. I did not think about such a scenario.

@mattcargile
Copy link

No need for a lecture as the users have to reach out and install this on their own. I would expect maybe Microsoft Windows to have their lecture in the OS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants