quieten.sh
is a script to perform common rollback configs to quieten down an installation of Ubuntu Server. Download the bash script, review it, then run it as root
or using sudo
, e.g.:
$ wget https://github.com/evilneuro/quieten-ubuntu/raw/main/quieten.sh
$ sudo ./quieten.sh
It applies some configuration changes to quiet down Ubuntu Server. It tries to be non-destructive, either by using existing tools to make modifications, or to change permissions or filenames of configuration or script files, rather than delete anything.
Canonical, the corporate owner of the Ubuntu Linux distribution and related open source project, have, over the years, increased the number of marketing messages that end-users are exposed to.
This is perfectly normal behaviour for a company trying to upsell it's commercial products and remain profitable, so that it can continue development of its products; this is especially normal behaviour for a company that doesn't charge for its core product: in this case, Ubuntu Linux.
However, when this gets in the way of core use cases for their software, i.e., the automation of software package installation and updates on headless servers or virtual machines, then it becomes at best, pesky, or at worst, damaging.
Specifically, these have included messages promoting their support services Ubuntu Advantage, Ubuntu Pro, and their gatekeeping of the universe
package repository behind Expanded Security Maintenance (ESM). These messages have been delivered in several ways, including in the Message of the Day (MOTD) shown on login via console or SSH, and during package repository updates and package installation, even being displayed when the commands being executed are using flags such as -qqq
to reduce command output to a minimum or to zero.
That's OK. Either don't run this script, or modify it to suit your needs or preferences; the comments should make it clear what's being disabled, and why.
Because in desktop versions of Ubuntu, the marketing messages are normally not obtrusive to the end-user, nor detrimental to normal and expected operation of the computer.
Of course I do. But the beauty of open systems and open source means that we can make whatever changes we like, within the constraints of the licence that the software is delivered and used under, and in this case it's fine.
I've been using UNIX since 1993, and I've been a UNIX sysadmin by trade since 1996. I've worked with Yggdrasil, Slackware, Debian, RHEL, CentOS, Gentoo, and SUSE over the years, and I started using Ubuntu Linux with the Ubuntu 4.10 Warty Warthog release, i.e., when Ubuntu was first publicly released. And since I'm a sysadmin, I like fixing things in a distribution when they aren't to my liking. This is why config files, sources.list
, PPAs, and apt
pinning are things, and this script is just one more thing to tweak things. And I thought I'd share, since I know I'm not alone!
Whoops! Open a pull request and help out! Thanks!