From 8707d059258191e003f646ce5c80b4e54c9da3d2 Mon Sep 17 00:00:00 2001 From: Scattered Faith <32654272+Scattered-Faith@users.noreply.github.com> Date: Tue, 27 Apr 2021 13:19:59 -0400 Subject: [PATCH] passwd: remove invalid example (#5691) passwd doesn't accept changing a password via specifying the password after the username in the command line, consider removing the example as it's misleading --- pages/common/passwd.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pages/common/passwd.md b/pages/common/passwd.md index e18df872ed..8562725538 100644 --- a/pages/common/passwd.md +++ b/pages/common/passwd.md @@ -6,13 +6,9 @@ `passwd` -- Change the password of the current user: +- Change the password of a specific user: -`passwd {{new_password}}` - -- Change the password of the specified user: - -`passwd {{username}} {{new_password}}` +`passwd {{username}}` - Get the current status of the user: