Since the beginning of time (or as long as I remember anyway) linux systems have had a "sys" and an "adm" group. What is the canonical use for them? Would it be appropriate to use either for a "super user" group? (Group permissions on directories, in sudoers, etc).
There is no standard requiring any interoperability meaning of this groups.
Traditionally the
adm
group is used to give a user access to some sort of system log files.See e.g.
ls -l /var/log
.The
sys
group normally intended to give a user some kind of administration rights. E.g. archlinux use this group for cups administration. Other distributions behave differently.E.g. on ubuntu the group
lpadmin
is used for cups administration. Thesys
group here is still defined, but seems to be unused.You can list the groups by this:
Uses of adm and sys groups:
adm
: Group adm is used for system monitoring tasks. Members of this group can read many log files in/var/log
, and can usexconsole
. Historically,/var/log
was/usr/adm
(and later/var/adm
), thus the name of the group.system
: This group is used for configuration and maintenance forhardware
andsoftware
.Hope this link will help..