Your message dated Sat, 22 Jun 2024 15:51:18 +0200
with message-id <ZnbW1kDI-sD5dui2@per>
and subject line Re: #1064940: vipw's manpage does not document
~/.selected_editor
has caused the Debian Bug report #1064940,
regarding vipw's manpage does not document ~/.selected_editor
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1064940: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064940
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: passwd
Version: 1:4.13+dfsg1-1+b1
Severity: minor
Tags: patch
Hi,
the 'vipw' program uses a file that isn't documented. The attached patch
should fill this gap, although I haven't tried to build the package with
it.
Enjoy,
Toni
-- System Information:
Debian Release: 12.5
APT prefers stable
APT policy: (990, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-18-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages passwd depends on:
ii libaudit1 1:3.0.9-1
ii libc6 2.36-9+deb12u4
ii libcrypt1 1:4.4.33-2
ii libpam-modules 1.5.2-6+deb12u1
ii libpam0g 1.5.2-6+deb12u1
ii libselinux1 3.4-1+b6
ii libsemanage2 3.4-1+b5
Versions of packages passwd recommends:
ii sensible-utils 0.0.17+nmu1
passwd suggests no packages.
-- no debconf information
diff --git a/man/vipw.8.xml b/man/vipw.8.xml
index 4caddcb..9775af7 100644
--- a/man/vipw.8.xml
+++ b/man/vipw.8.xml
@@ -77,6 +77,11 @@
<citerefentry><refentrytitle>vi</refentrytitle>
<manvolnum>1</manvolnum></citerefentry>.
</para>
+ <para>
+ On the first run, this program asks you for an editor and stores your
+ selection in ~/.selected_editor. If the editor mentioned therein does
+ not exist on your system, the program will fall back to using 'nano'.
+ </para>
</refsect1>
<refsect1 id='options'>
@@ -210,6 +215,9 @@
<citerefentry>
<refentrytitle>gshadow</refentrytitle><manvolnum>5</manvolnum>
</citerefentry>
+ <citerefentry>
+ <refentrytitle>~/.selected_editor</refentrytitle><manvolnum>5</manvolnum>
+ </citerefentry>
<citerefentry condition="tcb">
<refentrytitle>login.defs</refentrytitle><manvolnum>5</manvolnum>
</citerefentry>,
--- End Message ---
--- Begin Message ---
sensible-editor(1) and friends are defining features of Debian; it
doesn't make sense to document it in all programs that traditionally
would use EDITOR/VISUAL.
Chris
--- End Message ---