Comment 51 for bug 26338

Revision history for this message
Charles Twardy (ctwardy-gmail) wrote : Re: [Bug 26338] Re: Adding a user to a group modifies other users' groups and passwords

Likewise, most of the reports did very simple things. I tried to add a new
user. (However, it's also likely that a defunct user of the same name was
in /etc/group or /etc/passwd because once upon a time those had been
copied from another machine.)

But it stands to reason that it doesn't happen all the time,
or developers would have noticed that they lost sudo.

Anyone have a fresh spare machine they can experiment on? Does this happen
from a fresh install? If there's extraneous entries in the files? If
you mix adduser and users-admin? Or useradd?

I'd rather not muck around with my work system, as I'm not convinced I've
localized the damage. My office might be able to dig an old machine out
of storage, but I'm swamped for the next week at least.

-Charles Twardy

On Mon, 16 Jul 2007, David Green wrote:

DG>Hmm.... Well it has been a while since I looked at it but all I did to
DG>create the bug was use the GUI user-admin too to reassign a user to a
DG>group. I noticed after that that directories the users should have had
DG>access to they did not. Further investigation showed that they were not in
DG>the groups I'd put them in and I had to reset root's password to be able to
DG>run sudo to fix things.

--
Charles R. Twardy
<email address hidden>
<email address hidden>