[Top] [All Lists]

Bug#705483: xfsprogs: xfs_quota misinterprets usernames with leading dig

To: 705483@xxxxxxxxxxxxxxx
Subject: Bug#705483: xfsprogs: xfs_quota misinterprets usernames with leading digits
From: James Carter <james.carter@xxxxxxxxxxxxxx>
Date: Tue, 16 Apr 2013 09:17:21 +0100
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <516C25AC.60506@xxxxxxx>
References: <516C12DB.3060806@xxxxxxxxxxxxxx> <516C25AC.60506@xxxxxxx>
Reply-to: James Carter <james.carter@xxxxxxxxxxxxxx>, 705483@xxxxxxxxxxxxxxx
Resent-cc: XFS Development Team <xfs@xxxxxxxxxxx>
Resent-date: Tue, 16 Apr 2013 08:57:05 +0000
Resent-from: James Carter <james.carter@xxxxxxxxxxxxxx>
Resent-message-id: <handler.705483.B705483.13661025688457@xxxxxxxxxxxxxxx>
Resent-sender: Debian BTS <debbugs@xxxxxxxxxxxxxxxxxxxx>
Resent-to: debian-bugs-dist@xxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121127 Icedove/10.0.11
On 15/04/13 17:07, Rich Johnston wrote:

I don't think this is a bug, username must begin with a character (unless you created the user using NIS or adduser --force-badname).

My understanding that this is a recommendation rather than a requirement. useradd(8) has the following to say:

On Debian, the only constraints are that usernames must neither start with a dash ('-') nor contain a colon (':') or a whitespace (space: ' ', end of line: '\n', tabulation: '\t', etc.). Note that using a slash ('/') may break the default algorithm for the definition of the user's
       home directory.

In any case, I'd still consider it a bug that trailing non-numeric characters were just silently ignored.

James Carter                                           Bytemark Hosting
                                              tel: +44 (0) 1904 890 890

<Prev in Thread] Current Thread [Next in Thread>