From e5212d5ba162681dbb097ad02a43f2f42d5df143 Mon Sep 17 00:00:00 2001 From: 007N Date: Sat, 22 Feb 2014 12:38:10 +0100 Subject: [PATCH] Create passwd.md Added a few exemples, and basic description of passwd --- common/passwd.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 common/passwd.md diff --git a/common/passwd.md b/common/passwd.md new file mode 100644 index 0000000000..8549cf01bf --- /dev/null +++ b/common/passwd.md @@ -0,0 +1,15 @@ +#passwd + +> passwd is a tool on most Unix and Unix-like operating systems used to change a user's password. + +* Change your password. ( You may need to use **sudo** ) + +`passwd {{options}} {{new password}}` + +* Change the password of the specified user. + +`passwd {{username}} {{new password}}` + +* Make the password of the account blank ( It will set the named account passwordless. ) + +`passwd -d`