Your message dated Thu, 5 Jun 2008 09:00:53 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#484596: passwd: usermod fussy about options in an
undocumented manner
has caused the Debian Bug report #484596,
regarding passwd: usermod fussy about options in an undocumented manner
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
484596: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484596
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: passwd
Version: 1:4.0.18.1-7
Severity: normal
It appears that usermod requires certain options to be present in order for
certain
other options not to cause errors, and that they be present in a certain order.
I've noticed that "-o" causes errors if it appears either without or before
"-u",
for example.
a) this is crazy (and breaks other apps which assume that it will behave
sensibly)
b) this is undocumented
Puppet, for example, assumes sensible behaviour and breaks as a result. This is
obviously a bug in puppet as well, but does not excuse usermod. "Quirks" such as
this should at least be documented, if not removed.
Cheers,
Nick
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: powerpc (ppc64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-powerpc64
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Versions of packages passwd depends on:
ii debianutils 2.17 Miscellaneous utilities specific t
ii libc6 2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii libpam-modules 0.79-5 Pluggable Authentication Modules f
ii libpam0g 0.79-5 Pluggable Authentication Modules l
ii libselinux1 1.32-3 SELinux shared libraries
ii login 1:4.0.18.1-7 system login tools
passwd recommends no packages.
-- debconf information excluded
--- End Message ---
--- Begin Message ---
Version: 1:4.1.0-1
On Thu, Jun 05, 2008 at 05:09:27PM +1200, [EMAIL PROTECTED] wrote:
>
> It appears that usermod requires certain options to be present in order for
> certain
> other options not to cause errors, and that they be present in a certain
> order.
>
> I've noticed that "-o" causes errors if it appears either without or before
> "-u",
> for example.
>
> a) this is crazy (and breaks other apps which assume that it will behave
> sensibly)
It's no crazy. It's just a bug.
> b) this is undocumented
I did not change the documentation. I find the description of -o quite
clear.
-o, --non-unique
When used with the -u option, this option allows to
change the user ID to a non-unique value.
In 1:4.1.0-1, usermod does not depend on the order of options anymore.
Best Regards,
--
Nekral
--- End Message ---