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

James Carter james.carter at bytemark.co.uk
Tue Apr 16 03:17:21 CDT 2013


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
                                              http://www.bytemark.co.uk/
                                               tel: +44 (0) 1904 890 890



More information about the xfs mailing list