[Pkg-shadow-devel] Bug#1087519: Remove mentions of write and mesg

Josh Triplett josh at joshtriplett.org
Thu Nov 14 17:40:34 GMT 2024


Package: login.defs
Version: 1:4.16.0-4
Severity: minor
X-Debbugs-Cc: josh at joshtriplett.org

/etc/login.defs contains:
> #
> # Terminal permissions
> #
> #       TTYGROUP        Login tty will be assigned this group ownership.
> #       TTYPERM         Login tty will be set to this permission.
> #
> # If you have a write(1) program which is "setgid" to a special group
> # which owns the terminals, define TTYGROUP as the number of such group
> # and TTYPERM as 0620.  Otherwise leave TTYGROUP commented out and
> # set TTYPERM to either 622 or 600.
> #
> # In Debian, write(1) similar programs are setgid tty.
> # However, the default and recommended value for TTYPERM is still 0600
> # to not allow anyone to write to anyone else console or terminal.
> #
> # Users can still allow other people to write them by issuing
> # the "mesg y" command.
> #
> TTYGROUP        tty
> TTYPERM         0600

Those three paragraphs are no longer relevant in Debian, as we no longer
ship write(1) or mesg(1). Only the heading and the description of the
two options are needed.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

Kernel: Linux 6.11.7-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information



More information about the Pkg-shadow-devel mailing list