LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-30-2007, 06:22 PM   #1
dcyfer
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Rep: Reputation: 0
default groups - which are ok to delete?


i'm sure this is documented somewhere but i can't seem to find exactly what i'm looking for. slackware creates a huge list of groups by default. i'm wondering where i can find out the purpose for each of these groups and which ones are safe to delete.
 
Old 01-30-2007, 07:00 PM   #2
jonnycando
Member
 
Registered: Nov 2006
Location: Virginia
Distribution: OpenSuSE 10.2
Posts: 121

Rep: Reputation: 15
A layman's point of view to be sure, but consider everything that happens in Linux has to have some permission behind it. Each of those oddball groups exists so various drivers and services can perform their duties unassisted. That is they have pemissions partly by being assigned to one of these groups, and they don't have to wait for 'root' to tell them to go to work. I am willing to bet that there is at least one program, library, driver, or what have you, if not hundreds that can lay claim to any one of those groups, as obsure they might seem. Just defining them doesn't take more than a kilobyte of disc space. I would certainly NOT remove them.
 
Old 01-30-2007, 09:20 PM   #3
chadl
Member
 
Registered: Sep 2005
Location: US
Distribution: Gentoo AMD64 Testing
Posts: 129

Rep: Reputation: 16
If you want to check if any files are owned by a group, run:
Code:
find / -group <group name>
This will catch most groups that are in use. There are a few exceptions to this:
1) Files that udev dynamically creates in /dev. (The groups tty and usb are two examples of this)
2) Programs that drop privileges during runtime. Some programs may fail if they try to switch their effective group id from root to a group that does not exist.

Because of the above cases, it is often risky to remove groups (and they don't do any damage being on the system even if they are not used).

If you are thinking that the long list of groups might obscure an account made by a virus or hacker, then a program such as rkhunter can alert you of any changes to the user/group list.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
groups (system default groups) Xavius Linux - General 2 07-18-2012 02:50 AM
default groups zowey Ubuntu 3 08-22-2006 12:05 PM
Can I delete LVM Volume Groups? second_existence Linux - Newbie 1 01-24-2006 10:20 PM
Default user groups Markup Linux - General 4 08-15-2005 04:08 AM
default groups for new users (SuSE 9.2) retiem SUSE / openSUSE 2 03-15-2005 06:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration