Why is root a member of system groups?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Why is root a member of system groups?
# 1  
Old 06-19-2012
Why is root a member of system groups?

Why is root, by default, a member of some system groups? I can't see any reason for this. Root has permission to everything and adding root does not give the group any more permission, so what's the point?

Here is part of my /etc/group file from a recent arch linux system. Notice that root is a member of bin, daemon, sys, adm, and disk. Why?
Code:
root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin
adm:x:4:root,daemon
tty:x:5:
disk:x:6:root
lp:x:7:daemon

I've been programming unix and linux for maybe 20 years and this sounds to me like a simple basic question but I just can't find an answer.

Thanks.

Moderator's Comments:
Mod Comment Please use next time code tags for your code and data

Last edited by vbe; 06-20-2012 at 09:03 AM..
# 2  
Old 06-20-2012
A wild guess is applications or scripts checking for membership of those groups. Maybe those programms are no longer in use but the file was not cleaned up in some distributions.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to get User list from different groups and root?

Hi all, I want to list out users from different group and root, who are roaming in our group or root as a user. how can i list out this users ? (1 Reply)
Discussion started by: kpatel97
1 Replies

2. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies

3. UNIX for Dummies Questions & Answers

Root File System

Hi, Please someone tell me, what are the contents of root file sysytem? and significance of it, what are all possible ways to mount root file system? (5 Replies)
Discussion started by: laxmi Sharma
5 Replies

4. UNIX for Dummies Questions & Answers

Root file system full..Need help

Hi guys, In sun E250 server,root file system is full. we cleared log files in var/adm folder syslogs,mail logs,crash logs are empty. This is a production server. we are not able to run fsck from single user mode. I have given output of df and du command.How to create space in root... (3 Replies)
Discussion started by: PUSHPARAJA
3 Replies

5. Shell Programming and Scripting

Shell script for to view all users & groups history in root

Dear All, I want to know all users & group history in one file, for root terminal through shell or any other option (5 Replies)
Discussion started by: kpoobathi
5 Replies

6. Solaris

Why Veritas is not used for root file system.

Dear All, In our environment we use SDS (Solaris Vlume Manager) for root file system.So, I am wondering why Veritas is not use for the same. root@abc # df -kh Filesystem size used avail capacity Mounted on /dev/md/dsk/d10 30G 22G 6.9G 77% / /devices ... (3 Replies)
Discussion started by: Reboot
3 Replies

7. Solaris

How to recover root file system

Please can anyone explain me how to take a backup of root file system and how to recover it if it is corrupted. please explain me in detail (1 Reply)
Discussion started by: suneelieg
1 Replies

8. UNIX for Dummies Questions & Answers

Root File System Full

Hi All, The root file system of the HP-UX serevr I use is showing as 100% full. It has a disk space of ~524MB. When I add up the sizes of all the files and directories (using du -sk) , except mount points, it came up to 237MB. But when I bdf it still shows 100% full Can anyone help... (3 Replies)
Discussion started by: sube
3 Replies

9. Filesystems, Disks and Memory

root file system full

Hi I have a Solaris 2.5.1 system. Recently my file system is full and i couldn't find what flood my root file system. Anyone can suggext any directories i should look out for. I am using Samba and Patrol agent. I am just usng this server as a file server, users cannot login into the system,... (1 Reply)
Discussion started by: owls
1 Replies

10. UNIX for Dummies Questions & Answers

URGENT, root file system is 99%

help, urgently root file is 99% hi, this iptrace causes my root file system to be 99%. iptrace writes to a file but i didn not specify any file so how? and how to reduce my root file system since i suspect that it is iptrace which causes this.? thanks (8 Replies)
Discussion started by: yls177
8 Replies
Login or Register to Ask a Question