[SOLVED] I think cmd : "groupdel groupname" just only deleted groupname and not everything inside it
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I think cmd : "groupdel groupname" just only deleted groupname and not everything inside it
Hello Guys..
I wanted to delete a group and used command {"groupdel groupname"} and it just deleted the groupname and not everything inside the group as using cmd{"groups"}, I am seeing {"groups: cannot find name for group ID 998"} at the end. The group is still there.. How can i delete it..
Hi Pan64, thankyou.
I dont know how the group got added .
Name of the group was nordvpn
I remember installing nordvpn config file for my openvpn but i dont remember creating a group.
It might be that nordvpn creates a group for itself by default during installation.
So I search the web and found the command 'groupdel groupname' to delete a group
So I used cmd "groupdel nordvpn"
And recheked with groups and id command.
I can see now the nordvpn is gone but there is a 998
A) With cmd 'groups':
Before deletion: secahl cdrom floppy sudo audio dip video plugdev netdev bluetooth scanner kaboxer nordvpn
After deletion: secahl cdrom floppy sudo audio dip video plugdev netdev bluetooth scanner kaboxer groups: cannot find name for group ID 998
998
B) With cmd 'id':
Before deletion: uid=1000(secahl) gid=1000(secahl) groups=1000(secahl),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),109(netdev ),119(bluetooth),133(scanner),141(kaboxer),998(nordvpn)
After deletion: uid=1000(secahl) gid=1000(secahl) groups=1000(secahl),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),109(netdev ),119(bluetooth),133(scanner),141(kaboxer),998
You see that the group is still there.
Is it fine to leave as it is or do i have to delete the 998 also.
If so how to do so.
Also – if the "nordvpn" install created a group ... as installers sometimes do ... you probably will break something if you remove it. Proceed with caution.
Also – if the "nordvpn" install created a group ... as installers sometimes do ... you probably will break something if you remove it. Proceed with caution.
Oh yes, I guess OP uninstalled that software completely and only that group was not removed.
Having an unused group is totally harmless. Yes it is nice to not have things hanging around, but having the group there causes no problems so to me that seems a non-issue.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.