[Pkg-shadow-devel] [Git][debian/adduser][debian/202605-translations] 9 commits: clarify adduser pool format documentation
Marc Haber (@zugschlus)
gitlab at salsa.debian.org
Mon Jun 1 09:06:02 BST 2026
Marc Haber pushed to branch debian/202605-translations at Debian / adduser
Commits:
259fed18 by Marc Haber at 2026-06-01T05:51:57+02:00
clarify adduser pool format documentation
Git-Dch: ignore
- - - - -
b979e1ef by Marc Haber at 2026-06-01T05:51:57+02:00
remove trailing slashes from example pool directories
Git-Dch: ignore
- - - - -
402b47dd by Marc Haber at 2026-06-01T05:51:57+02:00
ignore extra fields at the end of pool file lines
- - - - -
febb7a47 by Marc Haber at 2026-06-01T05:51:57+02:00
clarify pool file read warnings
Git-Dch: ignore
- - - - -
87fdeaad by Marc Haber at 2026-06-01T05:51:57+02:00
remove trailing slaehes from pool directories
Git-Dch: ignore
- - - - -
215f4b7b by Marc Haber at 2026-06-01T06:06:59+02:00
streamline log level names.
Closes: #1132881
- - - - -
46250627 by Marc Haber at 2026-06-01T06:23:21+02:00
demote "crontab not found" warning to info
it is now perfectly normal to run a system that doesn't have cron
- - - - -
b2eedf89 by Marc Haber at 2026-06-01T07:07:25+02:00
prepare release
Git-Dch: ignore
- - - - -
49e1093a by Marc Haber at 2026-06-01T10:05:49+02:00
Add new Romanian program and man page translation
Thanks: Remus-Gabriel Chelu
Closes: #1137603, #1137602
- - - - -
8 changed files:
- AdduserCommon.pm
- adduser.conf
- debian/changelog
- deluser
- doc/adduser.8
- doc/adduser.conf.5
- doc/po4a/po/ro.po
- po/ro.po
Changes:
=====================================
AdduserCommon.pm
=====================================
@@ -268,11 +268,12 @@ sub read_configfile {
# -- a hash for the pool data
sub read_pool {
my ($pool_file, $type, $poolref) = @_;
- my ($name, $id, $comment, $home, $shell);
+ my ($name, $id, $comment, $home, $shell, $rest);
my %ids = ();
my %new;
$pool_file = decode($charset, $pool_file);
+ $pool_file =~ s{/?$}{};
if (-d $pool_file) {
my $dir;
unless( opendir( $dir, $pool_file) ) {
@@ -307,10 +308,10 @@ sub read_pool {
my $new;
if ($type eq "uid") {
- ($name, $id, $comment, $home, $shell) = split (/:/);
+ ($name, $id, $comment, $home, $shell, $rest) = split (/:/);
if (!$name || $name !~ /^([_a-zA-Z0-9-]+)$/ ||
!defined($id) || $id !~ /^(\d+)$/) {
- log_warn( mtx("Couldn't parse `%s', line %d."), $pool_file, $.);
+ log_warn( mtx("Couldn't parse uid line `%s', line %d."), $pool_file, $.);
next;
}
if( defined $name ) {
@@ -335,10 +336,10 @@ sub read_pool {
'shell' => $shell
};
} elsif ($type eq "gid") {
- ($name, $id) = split (/:/);
+ ($name, $id, $rest) = split (/:/);
if (!$name || $name !~ /^([_a-zA-Z0-9-]+)$/ ||
!defined($id) || $id !~ /^(\d+)$/) {
- log_warn( mtx("Couldn't parse `%s', line %d."), $pool_file, $. );
+ log_warn( mtx("Couldn't parse gid line `%s', line %d."), $pool_file, $. );
next;
}
if( defined $name ) {
=====================================
adduser.conf
=====================================
@@ -49,9 +49,9 @@
# Specify a file or a directory containing UID and GID pool.
#UID_POOL=/etc/adduser-pool.conf
-#UID_POOL=/etc/adduser-pool.d/
+#UID_POOL=/etc/adduser-pool.d
#GID_POOL=/etc/adduser-pool.conf
-#GID_POOL=/etc/adduser-pool.d/
+#GID_POOL=/etc/adduser-pool.d
#RESERVE_UID_POOL=yes
#RESERVE_GID_POOL=yes
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+adduser (3.156) unstable; urgency=medium
+
+ * ignore extra fields at the end of pool file lines
+ * streamline log level names. (Closes: #1132881)
+ * demote "crontab not found" warning to info
+ it is now perfectly normal to run a system that doesn't have cron
+
+ -- Marc Haber <mh+debian-packages at zugschlus.de> Mon, 01 Jun 2026 07:06:57 +0200
+
adduser (3.155) unstable; urgency=medium
[ Marc Haber ]
=====================================
deluser
=====================================
@@ -472,13 +472,8 @@ if($action eq "deluser") {
systemcall_or_warn('/usr/bin/crontab', '-u', $user, '-r');
}
} else {
- if ($config{'system'}) {
- log_info( mtx("`%s' is not executable. Skipping crontab removal. Package `cron' required."),
- '/usr/bin/crontab' );
- } else {
- log_warn( mtx("`%s' is not executable. Skipping crontab removal. Package `cron' required."),
- '/usr/bin/crontab' );
- }
+ log_info( mtx("`%s' is not executable. Skipping crontab removal. Package `cron' required."),
+ '/usr/bin/crontab' );
}
log_info( mtx("Removing user `%s' ..."), $user);
=====================================
doc/adduser.8
=====================================
@@ -555,9 +555,9 @@ Every message that \fBadduser\fR prints has a priority value
assigned by the authors.
This priority can not be changed at run time.
Available priority values are
-\fBcrit\fR,
+\fBfatal\fR,
\fBerror\fR,
-\fBwarning\fR,
+\fBwarn\fR,
\fBinfo\fR,
\fBdebug\fR,
and
=====================================
doc/adduser.conf.5
=====================================
@@ -203,6 +203,8 @@ shell (ditto).
.PP
It is possible to use the same file/directory for
\fBUID_POOL\fP and \fBGID_POOL\fP.
+But you cannot copy lines from \fI/etc/passwd\fP or \fI/etc/group\fP
+since pool file lines have less fields.
.PP
If an account / group is created,
\fBadduser\fP(8) searches in all UID/GID pool files
=====================================
doc/po4a/po/ro.po
=====================================
@@ -21,20 +21,21 @@
#
# Remus-Gabriel Chelu <remusgabriel.chelu at disroot.org>, sep-2024.
# Actualizare a traducerii pentru versiunea 3.146, făcută de R-GC, mar-2025.
+# Actualizare a traducerii pentru versiunea 3.155, făcută de R-GC, mai-2026.
# Actualizare a traducerii pentru versiunea Y, făcută de X, Y(luna-anul).
#
msgid ""
msgstr ""
-"Project-Id-Version: adduser 3.146\n"
+"Project-Id-Version: adduser 3.155\n"
"POT-Creation-Date: 2025-09-14 13:09+0200\n"
-"PO-Revision-Date: 2025-03-28 19:49+0100\n"
+"PO-Revision-Date: 2026-05-25 14:08+0200\n"
"Last-Translator: Remus-Gabriel Chelu <remusgabriel.chelu at disroot.org>\n"
"Language-Team: Romanian <debian-l10n-romanian at lists.debian.org>\n"
"Language: ro\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Poedit 3.5\n"
+"X-Generator: Poedit 3.8\n"
#. type: TH
#: ../adduser.8:16 ../adduser.local.8:5
@@ -2926,10 +2927,8 @@ msgstr ""
#. type: Plain text
#: ../deluser.8:208
-#, fuzzy
-#| msgid "Synonymous to B<--stdoutmsglevel=debug.> Deprecated."
msgid "Synonymous to B<--stdoutmsglevel=debug>. Deprecated."
-msgstr "Sinonim cu B<--stdoutmsglevel=debug.> Depreciată."
+msgstr "Sinonim cu B<--stdoutmsglevel=debug>. Depreciată."
#. type: Plain text
#: ../deluser.8:214
@@ -2957,10 +2956,8 @@ msgstr ""
#. type: Plain text
#: ../deluser.8:226
-#, fuzzy
-#| msgid "Synonymous to B<--stdoutmsglevel=warn.> Deprecated."
msgid "Synonymous to B<--stdoutmsglevel=warn>. Deprecated."
-msgstr "Sinonim cu B<--stdoutmsglevel=warn.> Depreciată."
+msgstr "Sinonim cu B<--stdoutmsglevel=warn>. Depreciată."
#. type: TP
#: ../deluser.8:226
@@ -3012,10 +3009,8 @@ msgstr ""
#. type: Plain text
#: ../deluser.8:249
-#, fuzzy
-#| msgid "Synonymous to B<--stdoutmsglevel=info.> Deprecated."
msgid "Synonymous to B<--stdoutmsglevel=info>. Deprecated."
-msgstr "Sinonim cu B<--stdoutmsglevel=info.> Depreciată."
+msgstr "Sinonim cu B<--stdoutmsglevel=info>. Depreciată."
#. type: Plain text
#: ../deluser.8:265
@@ -3049,9 +3044,6 @@ msgstr ""
#. type: Plain text
#: ../deluser.8:276
-#, fuzzy
-#| msgid ""
-#| "This works similar to B<adduser>. See B<adduser>(8) for all the details."
msgid ""
"This works similar to B<adduser>. See B<adduser>(8) for all the details."
msgstr ""
=====================================
po/ro.po
=====================================
@@ -17,21 +17,21 @@
# This file is distributed under the same license as the adduser package.
# Mesajele în limba română pentru pachetul „adduser”.
# Copyright Translation:
-# 2024-2025 Remus-Gabriel Chelu <remusgabriel.chelu at disroot.org>
+# 2024-2026 Remus-Gabriel Chelu <remusgabriel.chelu at disroot.org>
#
msgid ""
msgstr ""
-"Project-Id-Version: adduser 3.145\n"
+"Project-Id-Version: adduser 3.155\n"
"Report-Msgid-Bugs-To: adduser at packages.debian.org\n"
"POT-Creation-Date: 2025-09-14 13:07+0200\n"
-"PO-Revision-Date: 2025-03-15 10:48+0100\n"
+"PO-Revision-Date: 2026-05-25 15:04+0200\n"
"Last-Translator: Remus-Gabriel Chelu <remusgabriel.chelu at disroot.org>\n"
"Language-Team: Romanian <debian-l10n-romanian at lists.debian.org>\n"
"Language: ro\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Poedit 3.5\n"
+"X-Generator: Poedit 3.8\n"
#: adduser:229
msgid "Only root may add a user or group to the system."
@@ -383,6 +383,8 @@ msgid ""
"To avoid ambiguity with numerical UIDs, usernames whichresemble numbers or "
"negative numbers are not allowed."
msgstr ""
+"Pentru a evita ambiguitatea cu UID-urile numerice, numele de utilizator care "
+"seamănă cu numere sau cu numere negative nu sunt permise."
#: adduser:1356
msgid "Usernames must not be a single or a double period."
@@ -399,6 +401,10 @@ msgid ""
"tilde, and it must not contain any of thefollowing: colon, comma, slash, or "
"any whitespace charactersincluding spaces, tabs, and newlines."
msgstr ""
+"Pentru a evita problemele, numele de utilizator nu trebuie să înceapă cu o "
+"liniuță de unire, semnul plus sau tildă și nu trebuie să conțină niciunul "
+"dintre următoarele: două puncte, virgulă, bară oblică sau orice caracter de "
+"spațiu alb inclusiv spațiile, tabulatoarele și liniile noi."
#: adduser:1385
msgid ""
@@ -408,6 +414,12 @@ msgid ""
"accounts, $ is also supportedat the end of the username. (Use the `--allow-"
"all-names' optionto bypass this restriction.)"
msgstr ""
+"Pentru a evita problemele, numele de utilizator trebuie să conțină doar "
+"litere, cifre, caractere de subliniere, puncte, simboluri @ și linii de "
+"pauză, și nu trebuie să înceapă cu o linie (conform standardului IEEE Std "
+"1003.1-2001). Pentru compatibilitate cu conturile de mașină Samba, se "
+"acceptă și caracterul $ la sfârșitul numelui de utilizator.; (utilizați "
+"opțiunea „--allow-all-names” pentru a evita această restricție)."
#: adduser:1395
msgid "Allowing use of questionable username."
@@ -420,6 +432,10 @@ msgid ""
"configuration variable. Use the`--allow-bad-names' option to relax this "
"check or reconfigure%s in configuration."
msgstr ""
+"Vă rugăm să introduceți un nume de utilizator care să corespundă expresiei "
+"regulate configurată prin intermediul variabilei de configurare %s. "
+"Utilizați opțiunea „--allow-bad-names” pentru a relaxa această verificare "
+"sau reconfigurați %s în configurare."
#: adduser:1426
#, perl-format
@@ -611,6 +627,11 @@ msgid ""
"want this, call deluser with parameter --no-preserve-root. Stopping now "
"without having performed any action."
msgstr ""
+"AVERTISMENT: Sunteți pe punctul de a șterge contul root (uid 0). De obicei, "
+"acest lucru nu este niciodată necesar, deoarece poate face întregul sistem "
+"inutilizabil. Dacă doriți cu adevărat acest lucru, apelați «deluser» cu "
+"opțiunea „--no-preserve-root”. Se încetează acum fără să se fi efectuat "
+"nicio acțiune"
#: deluser:314
msgid "remove_home or remove_all_files beginning"
@@ -668,6 +689,8 @@ msgstr "Se elimină crontab ..."
msgid ""
"`%s' is not executable. Skipping crontab removal. Package `cron' required."
msgstr ""
+"«%s» nu este un fișier executabil.. Se omite eliminarea crontab. Pachetul "
+"„cron” este necesar."
#: deluser:466
#, perl-format
View it on GitLab: https://salsa.debian.org/debian/adduser/-/compare/eb98c027611f23669530e87f2d05492bc70b6595...49e1093ac6695eaff74cae0df581819747f5792f
--
View it on GitLab: https://salsa.debian.org/debian/adduser/-/compare/eb98c027611f23669530e87f2d05492bc70b6595...49e1093ac6695eaff74cae0df581819747f5792f
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20260601/4da73a80/attachment-0001.htm>
More information about the Pkg-shadow-devel
mailing list