Package: bash Version: 5.0-6ubuntu2 Severity: minor Tags: patch I do not believe checkwinsize needs to be manually enabled in /etc/skel/.bashrc because it is enabled by default, at least in the latest version of bash.
-- System Information: Debian Release: bullseye/sid APT prefers groovy-updates APT policy: (500, 'groovy-updates'), (500, 'groovy-security'), (500, 'groovy'), (100, 'groovy-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.8.0-50-generic (SMP w/8 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages bash depends on: ii base-files 11ubuntu14 ii debianutils 4.11.2 ii libc6 2.32-0ubuntu3 ii libtinfo6 6.2-1 Versions of packages bash recommends: ii bash-completion 1:2.11-2ubuntu1 Versions of packages bash suggests: pn bash-doc <none>
--- /etc/skel/.bashrc 2020-02-25 07:03:22.000000000 -0500 +++ /etc/skel/.bashrc.modified 2021-04-15 21:30:42.684118890 -0400 @@ -19,10 +19,6 @@ HISTSIZE=1000 HISTFILESIZE=2000 -# check the window size after each command and, if necessary, -# update the values of LINES and COLUMNS. -shopt -s checkwinsize - # If set, the pattern "**" used in a pathname expansion context will # match all files and zero or more directories and subdirectories. #shopt -s globstar