** Description changed:

  I would suggest the similarly with the way we alias rm  with `rm -i` we
  either change the usermod to give warning before removing all the users
  groups since this is an issue that can't be undone.
  
  I my self almost removed my self from the admin group because of
  forgetting the "-a" since ubuntu prefers sudo command. I would not have
  been able to add my self back to all my groups (Provided I remembered
  them all).
  
  I know this was my own stupidity and luckily I was able to resolve it
  but others might not be so lucky and would require booting into a live
  cd.
+ 
+ edit:
+ Forgot to mention my system 
+ Linux gizmo 2.6.24-18-generic #1 SMP Wed May 28 20:27:26 UTC 2008 i686 
GNU/Linux
+ Ubuntu 8.04

-- 
usermod -G removes all other groups by default.
https://bugs.launchpad.net/bugs/317647
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to