{"id":4666,"date":"2013-02-25T00:50:00","date_gmt":"2013-02-25T00:50:00","guid":{"rendered":"http:\/\/craftydba.com\/?p=4666"},"modified":"2013-02-26T02:58:56","modified_gmt":"2013-02-26T02:58:56","slug":"password-safe-reviewed","status":"publish","type":"post","link":"https:\/\/craftydba.com\/?p=4666","title":{"rendered":"Using Password Safe"},"content":{"rendered":"<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/open_safety_box_icon.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/open_safety_box_icon.jpg\" alt=\"\" title=\"open_safety_box_icon\" width=\"128\" height=\"128\" class=\"alignleft size-full wp-image-4667\" \/><\/a>  One of the daily tasks of a database administrator is the granting and the maintaining of access to the fleet of databases under your charge.  <\/p>\n<p>It is important to to keep track of all the system administrator accounts and passwords as well as any application ones requested by developers or end users.<\/p>\n<p>Another important aspect of security is making sure that passwords are strong enough to meet your companies audit requirements.  Why even use a password if it can be easily hacked?<\/p>\n<p>Today, I want to go review how the <a href=\"http:\/\/passwordsafe.sourceforge.net\/\">Password Safe<\/a> utility, which is a open source project, can fulfill these requirements.<\/p>\n<p>I was required to do a book report every three weeks on any book of my choosing in Middle School English class.  This is when I discovered <a href=\"http:\/\/en.wikipedia.org\/wiki\/J._R._R._Tolkien\">J.R.R Tolkien<\/a> fantasy series of books.  <\/p>\n<p><span style=\"color: #008000;\">\u201cOne Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them.\u201d &#8211; Fellowship of the Ring<br \/>\n<\/span><\/p>\n<p>This quote from the book neatly explains the purpose of the password safe.  A single password encrypted file repository that contains all the keys (accounts &#038; passwords) for a particular business purpose.  For instance, we could have three safes with passwords for database in development, quality assurance and production. <\/p>\n<p>I am assuming that you downloaded and installed the Password Safe utility.  Our first task is to select a location to place a brand new database.<\/p>\n<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe1.jpg\" alt=\"\" title=\"pw-safe1\" width=\"625\" height=\"445\" class=\"aligncenter size-full wp-image-4684\" srcset=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe1.jpg 625w, https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe1-300x213.jpg 300w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p>Our second task is to give the new password safe database (file) as strong password.  To make sure I do not forget the password, I took a screen shot of a text document showing the password.<\/p>\n<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe2.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe2.jpg\" alt=\"\" title=\"pw-safe2\" width=\"482\" height=\"425\" class=\"aligncenter size-full wp-image-4687\" srcset=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe2.jpg 482w, https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe2-300x264.jpg 300w\" sizes=\"auto, (max-width: 482px) 100vw, 482px\" \/><\/a><\/p>\n<p>One very cool feature of this utility is the ability to generate random passwords.  Be that as it may, the default pattern for generating passwords does not adhere to the SQL Server 2012 <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms161962.aspx\">standards<\/a>.  <\/p>\n<p>Choose the manage main menu and passwords sub-menu to change this pattern.  The screen shot below shows the removal of punctuation from the pattern and the increase of total length to 24 characters.<\/p>\n<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe3.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe3.jpg\" alt=\"\" title=\"pw-safe3\" width=\"979\" height=\"527\" class=\"aligncenter size-full wp-image-4688\" srcset=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe3.jpg 979w, https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe3-300x161.jpg 300w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/a><\/p>\n<p>Choose the manage edit menu and add entry sub-menu to starting adding information to the safe.  <\/p>\n<p>I usually use the &#8220;server name&#8221; as the <span style=\"color: #008000;\">group<\/span>, the &#8220;database name&#8221; as the <span style=\"color: #008000;\">title<\/span>, and the &#8220;database user&#8221; as the <span style=\"color: #008000;\">username<\/span>.  Exceptions to this rule are accounts like [sa] that are placed under the fictitious [MSSQL] database.  Using [SERVER] could be another good choice as long as you never ever use the name as a real database.<\/p>\n<p>The screen shot below shows the [sa] account for [MSSQL] for the [LATG1292] server.<\/p>\n<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe4.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe4.jpg\" alt=\"\" title=\"pw-safe4\" width=\"453\" height=\"642\" class=\"aligncenter size-full wp-image-4701\" srcset=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe4.jpg 453w, https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe4-211x300.jpg 211w\" sizes=\"auto, (max-width: 453px) 100vw, 453px\" \/><\/a><\/p>\n<p>I repeated this task two more times to create entries for the [AUTOS_ADMIN] and [AUTOS_USERS] accounts.<\/p>\n<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe5.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe5.jpg\" alt=\"\" title=\"pw-safe5\" width=\"453\" height=\"644\" class=\"aligncenter size-full wp-image-4708\" srcset=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe5.jpg 453w, https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe5-211x300.jpg 211w\" sizes=\"auto, (max-width: 453px) 100vw, 453px\" \/><\/a><\/p>\n<p>Another great feature of this tool is to place a copy of the password onto the clip board without ever showing the password.  This is very handy when a panicked colleague is asking you to change a password on the spot.  Please see the screen shot below showing the saved accounts for the [LATG1292] server.<\/p>\n<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe7.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe7.jpg\" alt=\"\" title=\"pw-safe7\" width=\"559\" height=\"534\" class=\"aligncenter size-full wp-image-4712\" srcset=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe7.jpg 559w, https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe7-300x286.jpg 300w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/a><\/p>\n<p>The cool features of this tool keep on coming!  If you do not use the tool for a while, it will automatically log out of the program.  You will be prompted for the safe combination to continue work at a later time.<\/p>\n<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe8.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe8.jpg\" alt=\"\" title=\"pw-safe8\" width=\"475\" height=\"200\" class=\"aligncenter size-full wp-image-4713\" srcset=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe8.jpg 475w, https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe8-300x126.jpg 300w\" sizes=\"auto, (max-width: 475px) 100vw, 475px\" \/><br \/>\n<\/a><\/p>\n<p>A review of this utility would not be complete without a brief review of each of the main menu items.<\/p>\n<p>The <span style=\"color: #ff0000;\">file menu item<\/span> can be used to create, open, close, import, export, and synchronize password safe databases (files).<\/p>\n<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe12.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe12.jpg\" alt=\"\" title=\"pw-safe12\" width=\"539\" height=\"425\" class=\"aligncenter size-full wp-image-4715\" srcset=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe12.jpg 539w, https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe12-300x236.jpg 300w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/a><\/p>\n<p>The <span style=\"color: #ff0000;\">edit menu item<\/span> can be used to add, edit, and delete items and groups.<\/p>\n<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe9.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe9.jpg\" alt=\"\" title=\"pw-safe9\" width=\"539\" height=\"274\" class=\"aligncenter size-full wp-image-4718\" srcset=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe9.jpg 539w, https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe9-300x152.jpg 300w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/a><\/p>\n<p>The <span style=\"color: #ff0000;\">view menu item<\/span> can be used to change the look and feel of the utility.<\/p>\n<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe10.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe10.jpg\" alt=\"\" title=\"pw-safe10\" width=\"539\" height=\"385\" class=\"aligncenter size-full wp-image-4721\" srcset=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe10.jpg 539w, https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe10-300x214.jpg 300w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/a><\/p>\n<p>Last but not least, the <span style=\"color: #ff0000;\">manage menu item<\/span> can be used backup and restore password databases.  Also included on the sub-menu are change safe password, configure password policies, get random password, adjust program options, and reconfigure tool bar actions.<\/p>\n<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe11.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe11.jpg\" alt=\"\" title=\"pw-safe11\" width=\"539\" height=\"274\" class=\"aligncenter size-full wp-image-4723\" srcset=\"https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe11.jpg 539w, https:\/\/craftydba.com\/wp-content\/uploads\/2013\/02\/pw-safe11-300x152.jpg 300w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/a><\/p>\n<p>A short and sweet summary of this utility is that it adds value to the IT teams that need to keep track of the keys to the kingdom (middle earth for you Tolkien fanatics).  Since the password safe uses <a href=\"http:\/\/en.wikipedia.org\/wiki\/Twofish\">twofish<\/a> encryption, you are guaranteed a secure file.  Put this file on a secure hidden network share and you now have a tool that can be used by a whole team.  <\/p>\n<p>The best part of the Password Safe is its cost.  FREE!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the daily tasks of a database administrator is the granting and the maintaining of access to the fleet of databases under your charge. It is important to to keep track of all the system administrator accounts and passwords as well as any application ones requested by developers or end users. Another important aspect of security is making sure that passwords are strong enough to meet your companies audit requirements. Why even use a password if it can be easily hacked? Today, I want to go review how the&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[781,777,15,780,778,782,783,779],"class_list":["post-4666","post","type-post","status-publish","format-standard","hentry","category-other","tag-database-administration","tag-free-utility","tag-john-f-miner-iii","tag-open-source","tag-password-safe","tag-password-tracker","tag-random-password-generation","tag-source-forge"],"_links":{"self":[{"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/posts\/4666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4666"}],"version-history":[{"count":0,"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/posts\/4666\/revisions"}],"wp:attachment":[{"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}