in fairness the manpage does say:
-l, --login NEW_LOGIN
The name of the user will be changed from LOGIN to NEW_LOGIN.
Nothing else is
changed. In particular, the user's home directory or mail spool
should probably
be renamed manually to reflect the new login name.
so I'm not sure what the best action here is, but we should at least add
this to the manpage, if we don't change it.
Quoting Ф И ([email protected]):
> Subject: passwd: "usermod -l" don't change "suguid" and "subgid"
> Package: passwd
> Version: 1:4.2-3.1ubuntu5
> Command
>
> usermod old_login --login new_login
>
> does not change old_login
> in files "/etc/suguid" and "/etc/subgid".
> _______________________________________________
> Pkg-shadow-devel mailing list
> [email protected]
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-shadow-devel