Alle Befehle
useradd
Thema: Benutzer
Programm: useradd
Legt einen neuen Benutzer an.
Paket: users
Aufruf
useradd [OPTION]... LOGIN
Beschreibung
Create the user LOGIN in /etc/passwd and /etc/shadow, with a group of the same name. Only root may do this.
Optionen im Simulator
-
-c, --comment=COMMENT text for the comment field (full name) -
-d, --home-dir=HOME home directory instead of /home/LOGIN -
-g, --gid=GROUP primary group (name or number) instead of a new group LOGIN -
-G, --groups=LIST comma separated list of supplementary groups -
-m, --create-home make /home/LOGIN and fill it from /etc/skel -
-M, --no-create-home no home directory (what happens without -m) -
-r, --system account for a service, with an ID below 1000 -
-s, --shell=SHELL login shell instead of /bin/sh -
-u, --uid=UID user ID instead of the next free one -
-h, --help show this help and exit
17 weitere Optionen des echten Programms, im Simulator noch nicht
-
--badname im Simulator noch nicht Diese Option gibt es im echten Linux; der Simulator kann sie bei diesem Befehl noch nicht.
-
-b, --base-dir braucht einen Wert im Simulator noch nicht Diese Option gibt es im echten Linux; der Simulator kann sie bei diesem Befehl noch nicht.
-
--btrfs-subvolume-home im Simulator noch nicht Diese Option gibt es im echten Linux; der Simulator kann sie bei diesem Befehl noch nicht.
-
-D, --defaults im Simulator noch nicht useradd -D zeigt oder ändert die Vorgaben in /etc/default/useradd; der Simulator nutzt die festen Vorgaben von Debian 13.
-
-e, --expiredate braucht einen Wert im Simulator noch nicht Diese Option gibt es im echten Linux; der Simulator kann sie bei diesem Befehl noch nicht.
-
-f, --inactive braucht einen Wert im Simulator noch nicht Diese Option gibt es im echten Linux; der Simulator kann sie bei diesem Befehl noch nicht.
-
-F, --add-subids-for-system im Simulator noch nicht Diese Option gibt es im echten Linux; der Simulator kann sie bei diesem Befehl noch nicht.
-
-k, --skel braucht einen Wert im Simulator noch nicht Diese Option gibt es im echten Linux; der Simulator kann sie bei diesem Befehl noch nicht.
-
-K, --key braucht einen Wert im Simulator noch nicht Diese Option gibt es im echten Linux; der Simulator kann sie bei diesem Befehl noch nicht.
-
-N, --no-user-group im Simulator noch nicht Diese Option gibt es im echten Linux; der Simulator kann sie bei diesem Befehl noch nicht.
-
-o, --non-unique im Simulator noch nicht Diese Option gibt es im echten Linux; der Simulator kann sie bei diesem Befehl noch nicht.
-
-p, --password braucht einen Wert im Simulator noch nicht Diese Option gibt es im echten Linux; der Simulator kann sie bei diesem Befehl noch nicht.
-
-R, --root braucht einen Wert im Simulator noch nicht Diese Option gibt es im echten Linux; der Simulator kann sie bei diesem Befehl noch nicht.
-
-P, --prefix braucht einen Wert im Simulator noch nicht Diese Option gibt es im echten Linux; der Simulator kann sie bei diesem Befehl noch nicht.
-
-U, --user-group im Simulator noch nicht Diese Option gibt es im echten Linux; der Simulator kann sie bei diesem Befehl noch nicht.
-
-Z, --selinux-user braucht einen Wert im Simulator noch nicht Diese Option gibt es im echten Linux; der Simulator kann sie bei diesem Befehl noch nicht.
-
--selinux-range braucht einen Wert im Simulator noch nicht Diese Option gibt es im echten Linux; der Simulator kann sie bei diesem Befehl noch nicht.
Wo du ihn lernst
Lektionen
Alle Befehle