-
Fototrend
Arch Linux topik
Új hozzászólás Aktív témák
-
vargalex
félisten
válasz
szuszinho #7664 üzenetére
Az useradd man-jában ez áll:
-g, --gid GROUP
The group name or number of the user's initial login group. The group name must exist. A group number must refer to an already existing group.
If not specified, the behavior of useradd will depend on the USERGROUPS_ENAB variable in /etc/login.defs. If this variable is set to yes (or -U/--user-group is specified on the command line), a group will be created for
the user, with the same name as her loginname. If the variable is set to no (or -N/--no-user-group is specified on the command line), useradd will set the primary group of the new user to the value specified by the GROUP
variable in /etc/default/useradd, or 100 by default.
A korábban hivatkozott wiki-ben pedig ez áll:
If an initial login group is specified by name or number, it must refer to an already existing group. If not specified, the behaviour of useradd will depend on the
USERGROUPS_ENAB
variable contained in/etc/login.defs
. The default behaviour (USERGROUPS_ENAB yes
) is to create a group with the same name as the username.Tehát default-ban csak akkor lesz az users csoport tagja, ha azt az
useradd
parancsnál a-g
kapcsoló használatával direkt kéred.De az egész erre a hozzászólásra regalálás.
Új hozzászólás Aktív témák
- Intel X540-T2 dual-port 10GbE RJ45 hálózati vezérlő (10Gbit, 2 port, áfás számla, garancia)
- AKCIÓ! Lenovo IS8XM LGA 1150 DDR3 alaplap garanciával hibátlan működéssel
- BESZÁMÍTÁS! MSI Z790 i5 14600KF 64GB DDR5 512GB SSD RTX 3070 8GB Rampage SHIVA Enermax 750W
- AKCIÓ! ASROCK H310CM i5 9600K 32GB DDR4 500GB SSD RTX 3050 8GB DeepCool Tesseract SW 500W
- Azonnali készpénzes AMD Radeon RX 6000 sorozat videokártya felvásárlás személyesen/csomagküldéssel
Állásajánlatok
Cég: Promenade Publishing House Kft.
Város: Budapest
Cég: CAMERA-PRO Hungary Kft
Város: Budapest