| To: | James Carter <james.carter@xxxxxxxxxxxxxx>, <705483@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Bug#705483: xfsprogs: xfs_quota misinterprets usernames with leading digits |
| From: | Rich Johnston <rjohnston@xxxxxxx> |
| Date: | Mon, 15 Apr 2013 11:07:08 -0500 |
| Cc: | <submit@xxxxxxxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Delivered-to: | submit@xxxxxxxxxxxxxxx |
| In-reply-to: | <516C12DB.3060806@xxxxxxxxxxxxxx> |
| References: | <516C12DB.3060806@xxxxxxxxxxxxxx> |
| Reply-to: | Rich Johnston <rjohnston@xxxxxxx>, 705483@xxxxxxxxxxxxxxx |
| Resent-cc: | XFS Development Team <xfs@xxxxxxxxxxx> |
| Resent-date: | Mon, 15 Apr 2013 16:21:01 +0000 |
| Resent-from: | Rich Johnston <rjohnston@xxxxxxx> |
| Resent-message-id: | <handler.705483.B.136604263930074@xxxxxxxxxxxxxxx> |
| Resent-sender: | Debian BTS <debbugs@xxxxxxxxxxxxxxxxxxxx> |
| Resent-to: | debian-bugs-dist@xxxxxxxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
On 04/15/2013 09:46 AM, James Carter wrote: Subject: xfsprogs: xfs_quota misinterprets usernames with leading digits Package: xfsprogs Version: 3.1.4 Severity: normal *** Please type your report below this line *** xfs_quota interprets usernames with leading digits as a numeric UID so, for example: # xfs_quota -c 'quota -h -u 2000ad' /store Disk quotas for User test (2000) Filesystem Blocks Quota Limit Warn/Time Mounted on /dev/sdb1 12K 1G 1G 00 [------] /store This is returning quota information for the user "test" (UID 2000), rather than the user "2000ad". 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).
# Default from /etc/adduser.conf
# check user and group names also against this regular expression.
#NAME_REGEX="^[a-z][-a-z0-9_]*\$"
From adduser man page:
--force-badname
By default, user and group names are checked against the
configâ
urable regular expression NAME_REGEX (or
NAME_REGEX_SYSTEM if
--system is specified) specified in the configuration
file. This
option forces adduser and addgroup to apply only a weak
check
for validity of the name.
Thanks
--Rich
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Bug#705483: xfsprogs: xfs_quota misinterprets usernames with leading digits, James Carter |
|---|---|
| Next by Date: | Re: need help how to debug xfs crash issue xfs_iunlink_remove: xfs_inotobp() returned error 22, Eric Sandeen |
| Previous by Thread: | Bug#705483: xfsprogs: xfs_quota misinterprets usernames with leading digits, James Carter |
| Next by Thread: | Bug#705483: xfsprogs: xfs_quota misinterprets usernames with leading digits, James Carter |
| Indexes: | [Date] [Thread] [Top] [All Lists] |