The Wayback Machine - https://web.archive.org/web/20210125044433/https://github.com/pop-os/default-settings/pull/102
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

Add custom /etc/legal to mention Pop!_OS instead of Ubuntu #102

Merged
merged 1 commit into from Oct 6, 2020

Conversation

@ids1024
Copy link
Member

@ids1024 ids1024 commented Oct 6, 2020

I noticed a copyright disclaimer with the MOTD, which mentioned Ubuntu (which seemed inconsistent).

It took me some time to figure out why this appeared that one time. I guess that was the first time I logged into a terminal after clearing ~/.cache. It seems Ubuntu patches pam_motd.so to display /etc/legal on first login, and create ~/.cache/motd.legal-displayed to prevent it from appearing again.

To see the message, just remove ~/.cache/motd.legal-displayed and login to a terminal.

Example:

Welcome to Pop!_OS 20.04 LTS (GNU/Linux 5.4.0-7642-generic x86_64)

 * Homepage: https://pop.system76.com
 * Support:  https://support.system76.com


The programs included with the Pop!_OS system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Pop!_OS comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

Last login: Tue Oct  6 12:37:46 2020 from ::1

If this is approved, I will cherry-pick into master_groovy as well.

This is both more correct, and more consistent since it's displayed as
part of the MOTD.
@ids1024 ids1024 requested review from pop-os/quality-assurance Oct 6, 2020
Copy link
Member

@leviport leviport left a comment

Nice find!

@ids1024 ids1024 merged commit b78b849 into master_focal Oct 6, 2020
2 checks passed
2 checks passed
pop-os/staging/focal/binary-amd64 Pop!_OS Staging focal/binary-amd64
Details
pop-os/staging/focal/source Pop!_OS Staging focal/source
Details
@ids1024 ids1024 deleted the etc-legal_focal branch Oct 6, 2020
ids1024 added a commit that referenced this pull request Oct 6, 2020
This is both more correct, and more consistent since it's displayed as
part of the MOTD.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants