Skip to contentSkip to conversation

skeleton: add "operator" group

PATCH New Jérôme Pouiller 2 participants 3 messages Oct 28, 2015 – Oct 29, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 skeleton: add "operator" group

gid 37 was referenced in /etc/passwd but not in /etc/group

---
 system/skeleton/etc/group | 1 +
 1 file changed, 1 insertion(+)
system/skeleton/etc/group +1 -0
index ba20e90..c813da2 100644
@@ -16,6 +16,7 @@ video:x:28:
 audio:x:29:
 tape:x:32:
 www-data:x:33:
+operator:x:37:
 utmp:x:43:
 plugdev:x:46:
 staff:x:50:
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 skeleton: add "operator" group

Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"J?r?me" == J?r?me Pouiller <[email protected]> writes:

gid 37 was referenced in /etc/passwd but not in /etc/group

---
 system/skeleton/etc/group | 1 +
 1 file changed, 1 insertion(+)
system/skeleton/etc/group +0 -0
index ba20e90..c813da2 100644

system/skeleton/etc/group video:x:28: · line 19

Quoted 4 lines
system/skeleton/etc/group +1 -0
@@ -16,6 +16,7 @@ video:x:28:
 audio:x:29:
 tape:x:32:
 www-data:x:33:
+operator:x:37:

Committed, thanks.

I guess this means it wasn't used anywhere? Perhaps we should better remove the user/group?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 skeleton: add "operator" group

Quoted 17 lines · On Wednesday 28 October 2015 23:35:15 Peter Korsgaard wrote:
Quoted 17 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"J?r?me" == J?r?me Pouiller <[email protected]> writes:

gid 37 was referenced in /etc/passwd but not in /etc/group

---

 system/skeleton/etc/group | 1 +
 1 file changed, 1 insertion(+)
system/skeleton/etc/group +0 -0
index ba20e90..c813da2 100644
@@ -16,6 +16,7 @@ video:x:28:
 audio:x:29:
 tape:x:32:
 
Quoted 6 lines

system/skeleton/etc/group video:x:28: · line 19

Quoted 2 lines
system/skeleton/etc/group +1 -0
 www-data:x:33:
+operator:x:37:

Committed, thanks.

I guess this means it wasn't used anywhere? Perhaps we should better remove the user/group?

In fact, I think many users/groups are useless. According to [1] and after checked groups used by udev:

- groups "wheel", "operator", "staff", "lock", "netdev" and users "operator", "sync" can been safely removed

- I think users/groups "daemon", "bin" and "sys" are now obsolete and can also been removed

- "mail" and "www-data" should only exist if an MTA/webserver is enabled.

- udev use "input" group (currently "input" group exist only if systemd is enabled)

- group of /etc/shadow should be "shadow"

In add, since skeleton is now a real package we may define users and groups using SKELETON_USERS variable instead of maintaining passwd/group/shadow.

I can do these changes if there is a consensus on it.

[1]
http://wiki.gacq.com/index.php/Debian_default_system_groups_description

BR,

Signature · 3 lines
J?r?me Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr