[Pkg-shadow-devel] Bug#706003: passwd: usermod -o requires -u
Nicolas François
nicolas.francois at centraliens.net
Mon Aug 5 12:54:34 UTC 2013
On Mon, Aug 05, 2013 at 01:06:11PM +0200, tfheen at err.no wrote:
>
> Because I have multiple users with the same UID, obviously. It was
> previously required, I think.
>
> > Wouldn't it be sufficient to use the following?
> > usermod -p '$hash' root
>
> Seems like it. I'd like the UI to not change around though, since I
> drive this from automation scripts which then have to special-case each
> version.
I don't think -o was necessary in any version.
Or was it?
(I just checked a recent and very old version)
(-o is needed when usermod would create a duplicate UID)
In previous versions there were less checks on the validity of options and
combinations, but that part I would like to keep.
Best Regards,
--
Nekral
More information about the Pkg-shadow-devel
mailing list