All commands
userdel
Topic: Users
Program: userdel
Deletes a user.
Package: users
Usage
userdel [OPTION]... LOGIN
Description
Delete the user LOGIN from /etc/passwd and /etc/shadow and from every group. Only root may do this.
Options in the simulator
-
-r, --remove also remove the home directory and the mail spool -
-h, --help show this help and exit
4 more options of the real program, not in the simulator yet
-
-f, --force not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
-
-R, --root needs a value not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
-
-P, --prefix needs a value not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
-
-Z, --selinux-user not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
Where you learn it
No lesson yet.
All commands