Hallo, Am Mittwoch, den 13.09.2006, 16:44 +0200 schrieb B_Kloss:
> ich habe in den Skripten immer den Befehl useradd, der das anscheinend nicht
> kennt, aber ist ja keine große Arbeit das auszutauschen!
aus man useradd:
-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. The default group number is 1 or
whatever is specified in /etc/default/useradd.
-G, --groups GROUP1[,GROUP2,...[,GROUPN]]]
A list of supplementary groups which the user is also a member
of. Each group is separated from the next by a comma, with no
intervening whitespace. The groups are subject to the
same restrictions as the group given with the -g option. The
default is for the user to belong only to the initial group.
adduser ist nur ein Frontend für useradd. In sofern ist useradd *IMHO in
Scripten die bessere Wahl, da man nicht auf eine Konfigurationsdatei
angewiesen ist.
Greetz,
Andre
--
BOFH-excuse of the day: You put the disk in upside down.
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

