[Pkg-shadow-devel] Bug#847173: Bug#847173: passwd: "usermod -l" don't change "suguid" and "subgid"

Serge E. Hallyn serge at hallyn.com
Sat Dec 31 20:24:45 UTC 2016


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 Ф И (f_i_2016 at list.ru):
> 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
> Pkg-shadow-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-shadow-devel



More information about the Pkg-shadow-devel mailing list