Bug#508785: [Pkg-shadow-devel] Bug#508785: gpasswd truncates usernames to 31 characters

2008-12-16 Thread Martin v. Wittich
Hi Nicolas,

 Thanks for reporting this.
 It is now fixed upstream.

I've been looking for an upstream site/bugtracker, but I haven't found
any. Did I overlook it?

 For Debian, I will wait for the end of the freeze and it should be
 available in the first upload for lenny+1.

Sorry, I don't quite understand what that means for us... at the moment,
we're using Debian etch. When lenny gets stable, we will upgrade our
servers; will we then get the fixed gpasswd or do we have to wait until
the next stable release _after_ lenny?

--
Martin



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508785: [Pkg-shadow-devel] Bug#508785: Bug#508785: gpasswd truncates usernames to 31 characters

2008-12-16 Thread Nicolas François
Hi,

On Tue, Dec 16, 2008 at 11:48:00AM +0100, martin.von.witt...@iserv.eu wrote:
 
  Thanks for reporting this.
  It is now fixed upstream.
 
 I've been looking for an upstream site/bugtracker, but I haven't found
 any. Did I overlook it?

The upstream site is now: http://pkg-shadow.alioth.debian.org/

There is also a tracker:
http://alioth.debian.org/tracker/?atid=411481group_id=30580func=browse

The pkg-shadow-de...@lists.alioth.debian.org mailing list is used for
upstream development, and your bug was forwarded there.

There are no problems in submitting the bug to the Debian BTS.

  For Debian, I will wait for the end of the freeze and it should be
  available in the first upload for lenny+1.
 
 Sorry, I don't quite understand what that means for us... at the moment,
 we're using Debian etch. When lenny gets stable, we will upgrade our
 servers; will we then get the fixed gpasswd or do we have to wait until
 the next stable release _after_ lenny?

Lenny is currently frozen and only changes fixing release critical bugs
are allowed.
For Etch also, only critical/security bugs can receive uploads.
So, yes, if you are using a stable release, you will have to wait for
the stable release _after_ lenny.

In the mean time, you can probably use usermod instead.
(depending on what you want to achieve, usermod -G group user can be
used)

Best Regards,
-- 
Nekral



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508785: gpasswd truncates usernames to 31 characters

2008-12-15 Thread Martin v. Wittich
Package: passwd
Version: 1:4.0.18.1-7
Severity: normal

useradd allows for user names up to 32 characters, but gpasswd -M
truncates user names that are 32 characters long to 31 characters.
Here's a script to reproduce:

#!/bin/sh

# create user and group
# username length: 4*8 = 32 characters
groupadd testgroup
useradd useruseruseruseruseruseruseruser

# this will print: 'gpasswd: unknown user useruseruseruseruseruseruseruse'
gpasswd -M useruseruseruseruseruseruseruser testgroup

# clean up
groupdel testgroup
userdel useruseruseruseruseruseruseruser


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-xen-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)

Versions of packages passwd depends on:
ii  debianutils2.17  Miscellaneous utilities
specific t
ii  libc6  2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii  libpam-modules 0.79-5Pluggable Authentication
Modules f
ii  libpam0g   0.79-5Pluggable Authentication
Modules l
ii  libselinux11.32-3SELinux shared libraries
ii  login  1:4.0.18.1-7  system login tools

passwd recommends no packages.

-- debconf information:
  passwd/password-mismatch:
  passwd/username:
  passwd/password-empty:
* passwd/make-user: false
  passwd/md5: false
  passwd/title:
  passwd/user-uid:
* passwd/shadow: true
  passwd/username-bad:
  passwd/user-fullname:



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508785: [Pkg-shadow-devel] Bug#508785: gpasswd truncates usernames to 31 characters

2008-12-15 Thread Nicolas François
found 508785 1:4.1.1-6
tags 508785 upstream
tags 508785 fixed-upstream
thanks

On Mon, Dec 15, 2008 at 12:44:07PM +0100, martin.von.witt...@iserv.eu wrote:
 
 useradd allows for user names up to 32 characters, but gpasswd -M
 truncates user names that are 32 characters long to 31 characters.

Thanks for reporting this.
It is now fixed upstream.

For Debian, I will wait for the end of the freeze and it should be
available in the first upload for lenny+1.

Best Regards,
-- 
Nekral



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org