Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
|
becki:linux:users_and_groups [2015-05-11 13:31] becki created |
becki:linux:users_and_groups [2015-10-21 07:42] (aktuell) becki |
||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Users and Groups == | ====== Users and Groups == | ||
| + | |||
| + | <note important>Directly editing ''/etc/group'' is not recommended. ''groupadd'' & ''usermod'' modify ''/etc/gshadow'' as well</note> | ||
| + | |||
| ===== Add a Group to the System == | ===== Add a Group to the System == | ||
| groupadd [-r] -g <groupnumber> <groupname> | groupadd [-r] -g <groupnumber> <groupname> | ||
| - | |||
| - | <note important>Directly editing ''/etc/group'' is not recommended. ''groupadd modifies ''/etc/gshadow'' as well</note> | ||
| ===== Add a User to a Group == | ===== Add a User to a Group == | ||