[Pkg-shadow-devel] Bug#706003: passwd: usermod -o requires -u
Nicolas François
nicolas.francois at centraliens.net
Mon Aug 5 10:12:48 UTC 2013
Hello,
On Tue, Apr 23, 2013 at 02:15:28PM +0200, Tollef Fog Heen wrote:
>
> Between 4.14.2 and 4.1.5.1, usermod changed so that you need to provide
> the uid of a non-unique user when changing the password. Previously,
> you could do:
>
> usermod -p '$hash' -o root
>
> and it would work, now you need to do -o root -u 0, which seems
> redundant.
Why do you want to use the -o option?
Wouldn't it be sufficient to use the following?
usermod -p '$hash' root
Best Regards,
--
Nekral
More information about the Pkg-shadow-devel
mailing list