[Bug 1037] Not all valid usernames are accepted by skuid

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Mon Oct 31 19:13:35 CET 2016


https://bugzilla.netfilter.org/show_bug.cgi?id=1037

Pablo Neira Ayuso <pablo at netfilter.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Pablo Neira Ayuso <pablo at netfilter.org> ---
Fixed upstream, available at nft's git repository.

commit 57ecffc9d1e551ecc0546806ca9c008e93c2ecf3
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date:   Tue Aug 16 23:22:51 2016 +0200

    scanner: allow strings starting by underscores and dots

    POSIX.1-2008 (which is simultaneously IEEE Std 1003.1-2008) says:

    "The set of characters from which portable filenames are constructed.

    A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
    a b c d e f g h i j k l m n o p q r s t u v w x y z
    0 1 2 3 4 5 6 7 8 9 . _ -"

    "The <hyphen> character should not be used as the first character of a
    portable user name."

    This allows a bit more things that NAME_REGEX though, but this still
    looks fine to me.

    For more info, see:
   
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_431
   
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_278

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20161031/fb0c2e78/attachment.html>


More information about the netfilter-buglog mailing list