All commands
passwd
Topic: Users
Program: passwd
Changes a password.
Package: users
Usage
passwd [OPTION]... [LOGIN]
Description
Change your password: first the current one, then twice the new one (at least 6 characters). root may change any account.
Options in the simulator
-
-d, --delete empty the password field (root only) -
-l, --lock put ! in front of the hash (root only) -
-S, --status one line: L locked, P with password, NP without, then the ages -
-u, --unlock take the ! away again (root only) -
-h, --help show this help and exit
12 more options of the real program, not in the simulator yet
-
-a, --all not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
-
-e, --expire not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
-
-k, --keep-tokens not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
-
-i, --inactive needs a value not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
-
-n, --mindays needs a value not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
-
-q, --quiet not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
-
-r, --repository needs a value 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.
-
-w, --warndays needs a value not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
-
-x, --maxdays needs a value not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
-
-s, --stdin not in the simulator yet passwd --stdin reads the new password from standard input. In the simulator you type it hidden at the terminal: passwd without an option.
Where you learn it
No lesson yet.
All commands