Re: [Bug 26338] Re: Adding a user to a group modifies other users' groups and passwords

2007-10-22 Thread Charles Twardy
Yann,

Many thanks.

-Charles

On 10/22/07, Yann Rouillard [EMAIL PROTECTED] wrote:
 Ok I had some time to investigate what I discovered (in comment 68).
 Still not sure if it's the cause of this bug but I am now able to
 reliably reproduce a serious similar bug:
-- 
Charles R. Twardy
Science is organized knowledge. Wisdom is organized life. ~Kant

-- 
Adding a user to a group modifies other users' groups and passwords
https://bugs.launchpad.net/bugs/26338
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 26338] Re: Adding a user to a group modifies other users' groups and passwords

2007-10-19 Thread Charles Twardy
OK!  Adding a /etc/login.defs for Ubuntu Feisty i686
 uname -a
Linux Athena 2.6.20-16-386 #2 Thu Jun 7 20:16:13 UTC 2007 i686 GNU/Linux


** Attachment added: login.defs for Ubuntu Feisty i686
   http://launchpadlibrarian.net/10063924/login.defs

-- 
Adding a user to a group modifies other users' groups and passwords
https://bugs.launchpad.net/bugs/26338
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [Bug 26338] Re: Adding a user to a group modifies other users' groups and passwords

2007-09-13 Thread Charles Twardy
First, boot to recovery mode or boot from the CD again.  That gives
you root access and you can change passwords using passwd.  Also, you
can view /etc/group and /etc/passwd to see if your regular signon was
modified.

Note: no one else here has yet reported a problem with the
*command-line* utilities, so check that the symptoms match, etc.

-crt

On 9/12/07, teach2471 [EMAIL PROTECTED] wrote:
 terminal window, I used the command line  added some users via adduser.
 I shutdown my Pc succesfully. The following day, I tried to logon to
 ubuntu using my regular signon that I created upon installation(which is
 also the same one that I had been using for several days), I now get,
 Incorrect username or password. Any help would be appreciated.

-- 
Adding a user to a group modifies other users' groups and passwords
https://bugs.launchpad.net/bugs/26338
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [Bug 26338] Re: Adding a user to a group modifies other users' groups and passwords

2007-07-16 Thread Charles Twardy
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:

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

-- 
Charles R. Twardy
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-- 
Adding a user to a group modifies other users' groups and passwords
https://bugs.launchpad.net/bugs/26338
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 107420] Re: Incorrect update of /etc/group when changing user's main group

2007-07-12 Thread Charles Twardy
Possibly related: #26338 and duplicates

-- 
Incorrect update of /etc/group when changing user's main group
https://bugs.launchpad.net/bugs/107420
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 107524] Re: users-admin suddelny emptied! users in /etc/group

2007-07-12 Thread Charles Twardy
*** This bug is a duplicate of bug 26338 ***
https://bugs.launchpad.net/bugs/26338

This sounds like #26338 and duplicates.  
The graphical users-admin reliably strips information from [i]unrelated[/i] 
users in /etc/group.
Let's take further discussion there.

-- 
users-admin suddelny emptied! users in /etc/group 
https://bugs.launchpad.net/bugs/107524
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 107524] Re: users-admin suddelny emptied! users in /etc/group

2007-07-12 Thread Charles Twardy
*** This bug is a duplicate of bug 26338 ***
https://bugs.launchpad.net/bugs/26338

Hm. No automatic link markup. How about: a
href=https://bugs.launchpad.net/ubuntu/+source/gnome-system-
tools/+bug/26338#26338/a.

** This bug has been marked a duplicate of bug 26338
   Adding a user to a group modifies other users' groups and passwords

-- 
users-admin suddelny emptied! users in /etc/group 
https://bugs.launchpad.net/bugs/107524
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 49815] Re: users-admin removes privileges after deleting user

2007-07-12 Thread Charles Twardy
*** This bug is a duplicate of bug 26338 ***
https://bugs.launchpad.net/bugs/26338

This is still a live issue. The active bug appears to be #26338: 
https://bugs.launchpad.net/ubuntu/+source/gnome-system-tools/+bug/26338.
Note, like many related bugs, the first posts are about some device not working 
(because of hal).  The underlying problem, like here, is that users-admin is 
clobbering /etc/group.  I'm going to mark this as a duplicate of #26338.

-- 
users-admin removes privileges after deleting user
https://bugs.launchpad.net/bugs/49815
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 51201] Re: Removing one sudo user removes the sudo privilege of another sudo user

2007-07-12 Thread Charles Twardy
*** This bug is a duplicate of bug 26338 ***
https://bugs.launchpad.net/bugs/26338

This was marked as a duplicate of #49815, which is it.
I'm changing both to duplicates of #26338, where there is more active 
discussion.
Admittedly, this bug gives a clearer statement of the problem, though the 
problem is broader: adding *any* user seems to strip *lots* of group info from 
/etc/group. See you at #26338.

** This bug is no longer a duplicate of bug 49815
   users-admin removes privileges after deleting user

** This bug has been marked a duplicate of bug 26338
   Adding a user to a group modifies other users' groups and passwords

-- 
Removing one sudo user removes the sudo privilege of another sudo user
https://bugs.launchpad.net/bugs/51201
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 51201] Re: Removing one sudo user removes the sudo privilege of another sudo user

2007-07-12 Thread Charles Twardy
*** This bug is a duplicate of bug 26338 ***
https://bugs.launchpad.net/bugs/26338

https://bugs.launchpad.net/ubuntu/+source/gnome-system-tools/+bug/26338

-- 
Removing one sudo user removes the sudo privilege of another sudo user
https://bugs.launchpad.net/bugs/51201
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 49815] Re: users-admin removes privileges after deleting user

2007-07-12 Thread Charles Twardy
*** This bug is a duplicate of bug 26338 ***
https://bugs.launchpad.net/bugs/26338

** This bug has been marked a duplicate of bug 26338
   Adding a user to a group modifies other users' groups and passwords

-- 
users-admin removes privileges after deleting user
https://bugs.launchpad.net/bugs/49815
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 26338] Re: Adding a user to a group modifies other users' groups and passwords

2007-07-12 Thread Charles Twardy
=== Summary ===
I've just reviewed the duplicates, and marked a few others as duplicates. The 
problem seems to be that the graphical users-admin tool has some SEVERE bugs 
that make a system unusable and insecure. It makes several unintended changes 
to /etc/group under various conditions, including:
  * stripping group membership from all/many accounts when adding a new user
  * allowing non-admin accounts to change the root password
  * deleting accounts other than the selected one (?)
Bug #64698 has a good statement of one manifestation.

Symptoms include:
  * User no longer in sudoers (because no longer in admin)
  * Network failures (because haldaemon is no longer in appropriate groups)
  * Sound failures (because user and haldaemon are no longer in audio)
  * USB and other devices no longer working (haldaemon again)
  * Gnome login problems (audio? hal? networking?)

Very likely this bug is causing a whole host of mysterious bugs that
never got tracked back to /etc/group, because the symptoms are
apparently unrelated.

One method to recover:
  * Reboot to recovery mode (a.k.a. single-user)
  * Edit /etc/group:
 * add the appropriate accounts to admin and audio (etc) again
 * add haldaemon to: cdrom, floppy, audio, plugdev, powerdev   (maybe 
others, but that's what I found)

I am attaching my reconstructed /etc/group, to help people recover.  I
_appear_ to have everything working again (sound, network, gnome login,
sudo) though I may yet have missed something, or your system may have
other bits. It's been slightly anonymized -- users daffy, bugs,
marvin and donald are fictitious.  Hope this helps.

Other possibilities including reinstalling hal and/or udev to reset
those permissions.  (sudo aptitude reinstall hal hal-device-manger).

Mind you, I'm deleting users-admin from my system for now.

** Attachment added: Fixed-up  /etc/group file
   http://launchpadlibrarian.net/8449978/group

** Attachment removed: Fixed-up  /etc/group file

   http://launchpadlibrarian.net/8449978/group

-- 
Adding a user to a group modifies other users' groups and passwords
https://bugs.launchpad.net/bugs/26338
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 26338] Re: Adding a user to a group modifies other users' groups and passwords

2007-07-12 Thread Charles Twardy

** Attachment added: Fixed-up  /etc/group file
   http://launchpadlibrarian.net/8449998/fred2

-- 
Adding a user to a group modifies other users' groups and passwords
https://bugs.launchpad.net/bugs/26338
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 26338] Re: Adding a user to a group modifies other users' groups and passwords

2007-07-06 Thread Charles Twardy
Still a problem -- I just hosed my system trying to add a user.  It
basically lost everyone's group membership.  That knocked me out of
admin, and killed network functionality (especially gaim) because lots
of userids should be members of haldaemon, but no longer were. Not
knowing who had lost what, I poked around until, by removing and
reinstalling dbus and hal (etc.), I got network back.  I still don't
have audio, because I haven't figured out which groups need what, or
what reinstall will fix my /etc/group.  I had to reboot to single-user
(recovery) mode to add myself back to admin so I could sudo.  What a
dreadful bug. Completely unexpected that a simple add user operation
would hose the system.

-- 
Adding a user to a group modifies other users' groups and passwords
https://bugs.launchpad.net/bugs/26338
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 86749] Re: evince does not automatically set or remember the paper size

2007-03-15 Thread Charles Twardy
I'm not sure this is an instance of bug #349102. I don't think this is
about remembering configurations. It is about ignoring system
configurations.

I have the same problem in reverse. For example, my copy of evince
insists on printing an a4 document as a4, despite my system papersize
being letter. Acroread correctly notices my system settings, and is
able to print.  Evince is basically unable to print, because my printers
demand A4 and won't be deterred. Evince does not allow resizing either.

-- 
evince does not automatically set or remember the paper size
https://launchpad.net/bugs/86749

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs