{"id":148,"date":"2017-02-11T16:05:45","date_gmt":"2017-02-11T16:05:45","guid":{"rendered":"https:\/\/thinkdebian.net\/blog\/?p=148"},"modified":"2018-09-23T15:16:42","modified_gmt":"2018-09-23T15:16:42","slug":"quick-generate-passwords-terminal","status":"publish","type":"post","link":"https:\/\/thinkdebian.net\/blog\/quick-generate-passwords-terminal\/","title":{"rendered":"quick way to generate passwords under the terminal"},"content":{"rendered":"<p>Install pwgen package:<\/p>\n<pre lang=\"bash\">\r\napt-get install pwgen\r\n<\/pre>\n<p>Then run the following command to generate one password of length 15 and include at least one capital letter, one number and one special character:<\/p>\n<pre lang=\"bash\">\r\npwgen -1 -c -n -y 15\r\n<\/pre>\n<p>Update (2018-09-23):<\/p>\n<p>For even more secure passwords, you should type the command as follows:<\/p>\n<pre lang=\"bash\">\r\npwgen -1 -c -n -y -s 15\r\n<\/pre>\n<p>From the man page of pwgen:<br \/>\n-s, &#8211;secure<br \/>\nGenerate completely random, hard-to-memorize  passwords.<br \/>\nThese  should  only be used for machine passwords, since<br \/>\notherwise it&#8217;s almost guaranteed that users will  simply<br \/>\nwrite the password on a piece of paper taped to the mon\u2010<br \/>\nitor&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install pwgen package: apt-get install pwgen Then run the following command to generate one password of length 15 and include at least one capital letter, one number and one special character: pwgen -1 -c -n -y 15 Update (2018-09-23): For even more secure passwords, you should type the command as follows: pwgen -1 -c -n &#8230; <a title=\"quick way to generate passwords under the terminal\" class=\"read-more\" href=\"https:\/\/thinkdebian.net\/blog\/quick-generate-passwords-terminal\/\" aria-label=\"More on quick way to generate passwords under the terminal\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,4,33],"tags":[],"_links":{"self":[{"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/posts\/148"}],"collection":[{"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/comments?post=148"}],"version-history":[{"count":9,"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/posts\/148\/revisions"}],"predecessor-version":[{"id":272,"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/posts\/148\/revisions\/272"}],"wp:attachment":[{"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/media?parent=148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/categories?post=148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/tags?post=148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}