]] Nicolas François 

> 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?

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.

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to