Your message dated Tue, 04 Oct 2022 21:37:02 +0000
with message-id <[email protected]>
and subject line Bug#1006848: fixed in shadow 1:4.12.3+dfsg1-1
has caused the Debian Bug report #1006848,
regarding shadow: improvements for man 8 lastlog
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 [email protected]
immediately.)
--
1006848: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006848
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: shadow
Version: 4.8.1
Severity: minor
Dear Serge,
attached a diff and the xml file for lastlog.8
Best regards
Markus
--- ../../shadow-4.8.1/man/lastlog.8.xml 2019-07-23 17:26:08.000000000
+0200
+++ lastlog.8.xml 2022-01-20 09:56:29.773711307 +0100
@@ -100,7 +100,7 @@
</term>
<listitem>
<para>
- Print only lastlog records older than <emphasis
remap='I'>DAYS</emphasis>.
+ Print only lastlog records older than
<replaceable>DAYS</replaceable>.
</para>
</listitem>
</varlistentry>
@@ -153,7 +153,7 @@
<listitem>
<para>
Print the lastlog records more recent than
- <emphasis remap='I'>DAYS</emphasis>.
+ <replaceable>DAYS</replaceable>.
</para>
</listitem>
</varlistentry>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 1992 , Julianne Frances Haugh
Copyright (c) 1992 , Phillip Street
Copyright (c) 2007 - 2011, Nicolas François
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the copyright holders or contributors may not be used to
endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY LASTLOG_UID_MAX SYSTEM "login.defs.d/LASTLOG_UID_MAX.xml">
<!-- SHADOW-CONFIG-HERE -->
]>
<refentry id='lastlog.8'>
<!-- $Id$ -->
<refentryinfo>
<author>
<firstname>Julianne Frances</firstname>
<surname>Haugh</surname>
<contrib>Creation, 1992</contrib>
</author>
<author>
<firstname>Thomas</firstname>
<surname>Kłoczko</surname>
<email>[email protected]</email>
<contrib>shadow-utils maintainer, 2000 - 2007</contrib>
</author>
<author>
<firstname>Nicolas</firstname>
<surname>François</surname>
<email>[email protected]</email>
<contrib>shadow-utils maintainer, 2007 - now</contrib>
</author>
</refentryinfo>
<refmeta>
<refentrytitle>lastlog</refentrytitle>
<manvolnum>8</manvolnum>
<refmiscinfo class="sectdesc">System Management Commands</refmiscinfo>
<refmiscinfo class="source">shadow-utils</refmiscinfo>
<refmiscinfo class="version">&SHADOW_UTILS_VERSION;</refmiscinfo>
</refmeta>
<refnamediv id='name'>
<refname>lastlog</refname>
<refpurpose>reports the most recent login of all users or of a given
user</refpurpose>
</refnamediv>
<!-- body begins here -->
<refsynopsisdiv id='synopsis'>
<cmdsynopsis>
<command>lastlog</command>
<arg choice='opt'>
<replaceable>options</replaceable>
</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1 id='description'>
<title>DESCRIPTION</title>
<para>
<command>lastlog</command> formats and prints the contents of the last
login log <filename>/var/log/lastlog</filename> file. The
<emphasis>login-name</emphasis>, <emphasis>port</emphasis>, and
<emphasis>last login time</emphasis> will be printed. The default (no
flags) causes lastlog entries to be printed, sorted by their order in
<filename>/etc/passwd</filename>.
</para>
</refsect1>
<refsect1 id='options'>
<title>OPTIONS</title>
<para>
The options which apply to the <command>lastlog</command> command are:
</para>
<variablelist remap='IP'>
<varlistentry>
<term>
<option>-b</option>,
<option>--before</option> <replaceable>DAYS</replaceable>
</term>
<listitem>
<para>
Print only lastlog records older than
<replaceable>DAYS</replaceable>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-C</option>, <option>--clear</option>
</term>
<listitem>
<para>
Clear lastlog record of a user. This option can be used only
together
with <option>-u</option> (<option>--user</option>)).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-h</option>, <option>--help</option>
</term>
<listitem>
<para>Display help message and exit.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-R</option>,
<option>--root</option> <replaceable>CHROOT_DIR</replaceable>
</term>
<listitem>
<para>
Apply changes in the <replaceable>CHROOT_DIR</replaceable>
directory and use the configuration files from the
<replaceable>CHROOT_DIR</replaceable> directory.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-S</option>, <option>--set</option>
</term>
<listitem>
<para>
Set lastlog record of a user to the current time. This option can be
used only together with <option>-u</option>
(<option>--user</option>)).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-t</option>,
<option>--time</option> <replaceable>DAYS</replaceable>
</term>
<listitem>
<para>
Print the lastlog records more recent than
<replaceable>DAYS</replaceable>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-u</option>,
<option>--user</option> <replaceable>LOGIN</replaceable>|<replaceable>RANGE</replaceable>
</term>
<listitem>
<para>
Print the lastlog record of the specified user(s).
</para>
<para>
The users can be specified by a login name, a numerical user ID,
or a <replaceable>RANGE</replaceable> of users. This
<replaceable>RANGE</replaceable> of users can be specified with a
min and max values (<replaceable>UID_MIN-UID_MAX</replaceable>), a
max value (<replaceable>-UID_MAX</replaceable>), or a min value
(<replaceable>UID_MIN-</replaceable>).
</para>
</listitem>
</varlistentry>
</variablelist>
<para>
If the user has never logged in the message <emphasis>** Never logged
in**</emphasis> will be displayed instead of the port and time.
</para>
<para>
Only the entries for the current users of the system will be
displayed. Other entries may exist for users that were deleted
previously.
</para>
</refsect1>
<refsect1 id='note'>
<title>NOTE</title>
<para>
The <filename>lastlog</filename> file is a database which contains info
on the last login of each user. You should not rotate it. It is a sparse
file, so its size on the disk is usually much smaller than the one shown
by "<command>ls -l</command>" (which can indicate a really big file if
you have in <filename>passwd</filename> users with a high UID). You can
display its real size with "<command>ls -s</command>".
</para>
</refsect1>
<refsect1 id='configuration'>
<title>CONFIGURATION</title>
<para>
The following configuration variables in
<filename>/etc/login.defs</filename> change the behavior of this
tool:
</para>
<variablelist>
&LASTLOG_UID_MAX;
</variablelist>
</refsect1>
<refsect1 id='files'>
<title>FILES</title>
<variablelist>
<varlistentry>
<term><filename>/var/log/lastlog</filename></term>
<listitem>
<para>Database times of previous user logins.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 id='caveats'>
<title>CAVEATS</title>
<para>
Large gaps in UID numbers will cause the lastlog program to run
longer with no output to the screen (i.e. if in lastlog database there
is no entries for users with UID between 170 and 800 lastlog will appear
to hang as it processes entries with UIDs 171-799).
</para>
</refsect1>
</refentry>
--- End Message ---
--- Begin Message ---
Source: shadow
Source-Version: 1:4.12.3+dfsg1-1
Done: Balint Reczey <[email protected]>
We believe that the bug you reported is fixed in the latest version of
shadow, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Balint Reczey <[email protected]> (supplier of updated shadow package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 04 Oct 2022 22:09:04 +0200
Source: shadow
Built-For-Profiles: noudeb
Architecture: source
Version: 1:4.12.3+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: Shadow package maintainers
<[email protected]>
Changed-By: Balint Reczey <[email protected]>
Closes: 1004242 1006848 1007758 1019245
Changes:
shadow (1:4.12.3+dfsg1-1) unstable; urgency=medium
.
[ Balint Reczey ]
* New upstream release (Closes: #1004242, #1006848)
* Refresh patches
* debian/patches: Reorder patches in series to make it look sane
* Fix Lintian elevated-privileges tag rename
.
[ Johannes Schauer Marin Rodrigues ]
* debian/shadowconfig: Support DPKG_ROOT without using chroot()
(Closes: #1007758)
* useradd: cherry-pick patch from upstream to avoid creating several GB worth
of sparse lastlog and faillog files for users with high uid values
(Closes: #1019245)
.
[ Debian Janitor ]
* Update renamed lintian tag names in lintian overrides.
* Update standards version to 4.6.1, no changes needed.
Checksums-Sha1:
30a716cd187a49655d0b7cddcaae18aaeecdea2c 2416 shadow_4.12.3+dfsg1-1.dsc
126657b934ed7ca7c57f11c60e0265e5b584a96f 1796336
shadow_4.12.3+dfsg1.orig.tar.xz
ffee478fa513757f08f65105d171bdbbcebb6229 78976
shadow_4.12.3+dfsg1-1.debian.tar.xz
31d6912b2e20cf9207a740ce3b24cb355549452c 8078
shadow_4.12.3+dfsg1-1_source.buildinfo
Checksums-Sha256:
83d288a278cc88d38f96ff59a0fa257c4672cd07b27dbf8a64e71d4d4160b0bd 2416
shadow_4.12.3+dfsg1-1.dsc
0f6b86620d4893e766401ae7aca0361e19859e5da56851af6d6dc58932044657 1796336
shadow_4.12.3+dfsg1.orig.tar.xz
40edaf4c1626a9874bb53ed21848d8b41e8115c79c51c3c364a171fe6f389556 78976
shadow_4.12.3+dfsg1-1.debian.tar.xz
6dd258ab64a458cb21fdbef61edb53e1633b3821f696b331b123fedf1aa2244b 8078
shadow_4.12.3+dfsg1-1_source.buildinfo
Files:
904e976fe06ec1a15c174cac8d8d5573 2416 admin required shadow_4.12.3+dfsg1-1.dsc
fc8970164ab232ed0fc6b0efeedfef1d 1796336 admin required
shadow_4.12.3+dfsg1.orig.tar.xz
f8f48ce6410665adc461420cd3187fc2 78976 admin required
shadow_4.12.3+dfsg1-1.debian.tar.xz
b617c4691913a22624f20118040a04bc 8078 admin required
shadow_4.12.3+dfsg1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEI/PvTgXX55rLQUfDg6KBkWslS0UFAmM8nbgACgkQg6KBkWsl
S0VzLhAAgRUetUk4637L/6bz5bfKpSDNKPdHr9wckLy6mf5SEZ7L5fPpZ9yEveQK
FiH/v22KRvhxcufwirJwZnJxZDhffJgTSLx9X8di0qxbcllhSjIIUzi/GO1CBtw5
UYrMNZb2eaiCTycv1Msa1JBGQSIdpWlCXJb0+A8PdlMeYJu7pI0iwiwqrHZB/Cyp
Y/dPskYvkWWDXOzzdO5SNyCmo0yh9svwcpW5tGKirmTvbJj/ciBy5792m0MVmIv2
vzoAtomQ1IwdiDVxG/m6stdhDhQDIba3XvgFHfKsBGnthk1VBIELWQ210mgJHLL4
W42LB57LzbVo5Ue80KHKkOTOsQtTQbiFsN6AERzfRKFZ5fVx1BNtKK7QokWPBb0d
WctB3RtVXUr9WXaaTh2gKPT1ljLPmitDi5MGsHDEiWD/07iVYfGGXzgESeh2g7h9
2BB4JihcGJn3Irr08h3snyOpVY527krmrsm7oaok2qBaeQ4A8A8UPGgFppnpmf3Y
S0jpowsaPZbOWzIAcs5vBJY3Sh+FHvegfzSlDSLUkAahtINtfEgB8d1BBtRS44/p
lHYdtf1RB58fmw/FpipXMa434xmKtvvXHan6/nPjYbuctBwFPojNySpuN3HWelje
94T4FDQzaFPUuw/90wai5VgIqhCcENRfnDgq2sjkD0+U10sPB6k=
=OQa0
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-shadow-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-shadow-devel