1

I am using ubuntu 14.04 with MATE desktop. By mistake I created a group called dba two times with different ids: 1001 and 502 I want delete the group dba with id 1001. How can I do this?

2

There may be a more elegant answer, but you can always edit /etc/group manually. You'll need root privileges, then just remove the line that includes the 1001 gid. It'll look something like this:

dba:x:1001:
3
  • 1
    I assume you then also need to move all users to the other group?
    – Rinzwind
    Dec 24 '14 at 11:55
  • Hi Sparhawk,Thank you for your answer. It worked.
    – user361556
    Dec 24 '14 at 12:26
  • @Rinzwind I'm not sure if the OP actually did anything with this group or not.
    – Sparhawk
    Dec 25 '14 at 0:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.