What is the practical difference between locking and deleting a user password?Deleting a samba user: pbdedit...

Do we have any particular tonal center in mind when we are NOT listening music?

Difference between "rip up" and "rip down"

Which lens has the same capability of lens mounted in Nikon P1000?

End a command question

Iterating over &Vec<T> and Vec<&T>

I transpose the source code, you transpose the input!

Whaling ship logistics

A food item only made possible by time-freezing storage?

Reorder a matrix, twice

Why did the Soviet Union not "grant" Inner Mongolia to Mongolia after World War Two?

Convex hull in a discrete space

We are on WHV, my boyfriend was in a small collision, we are leaving in 2 weeks what happens if we don’t pay the damages?

How can I tell the difference between fishing for rolls and being involved?

Why weren't the Death Star plans transmitted electronically?

Character Transformation

Need Improvement on Script Which Continuously Tests Website

Is the order of words purely based on convention?

Clear text passwords in Unix

Why was LOGO created?

What exactly did this mechanic sabotage on the American Airlines 737, and how dangerous was it?

Why, even after his imprisonment, people keep calling Hannibal Lecter "Doctor"?

Does "as soon as" imply simultaneity?

What did Jesse Pinkman mix into Walt's coffee?

My Project Manager does not accept carry-over in Scrum, Is that normal?



What is the practical difference between locking and deleting a user password?


Deleting a samba user: pbdedit vs. smbpasswd, what's the difference?Two ways to lock a password but only one to unlockHow to change the user password on all nodes of a (pbs) linux clusterWhy is the root password on Linux Mint my user password?What is the default SHA512 salt used in passwd and for the hash stored in the shadow file?What is the bin user for?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















The accepted answer to How do I completely remove root password suggests passwd -d root ("deleting" the password), and a comment suggests instead using passwd -l root ("locking" the password). The only difference seems to be that a locked password can be unlocked by removing the initial "!" before it. Are there any other practical considerations, particularly related to security and disabling the root account?










share|improve this question































    0















    The accepted answer to How do I completely remove root password suggests passwd -d root ("deleting" the password), and a comment suggests instead using passwd -l root ("locking" the password). The only difference seems to be that a locked password can be unlocked by removing the initial "!" before it. Are there any other practical considerations, particularly related to security and disabling the root account?










    share|improve this question



























      0












      0








      0








      The accepted answer to How do I completely remove root password suggests passwd -d root ("deleting" the password), and a comment suggests instead using passwd -l root ("locking" the password). The only difference seems to be that a locked password can be unlocked by removing the initial "!" before it. Are there any other practical considerations, particularly related to security and disabling the root account?










      share|improve this question














      The accepted answer to How do I completely remove root password suggests passwd -d root ("deleting" the password), and a comment suggests instead using passwd -l root ("locking" the password). The only difference seems to be that a locked password can be unlocked by removing the initial "!" before it. Are there any other practical considerations, particularly related to security and disabling the root account?







      passwd






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 42 mins ago









      l0b0l0b0

      30.5k23 gold badges130 silver badges266 bronze badges




      30.5k23 gold badges130 silver badges266 bronze badges

























          0






          active

          oldest

          votes














          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });















          draft saved

          draft discarded
















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f543153%2fwhat-is-the-practical-difference-between-locking-and-deleting-a-user-password%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

















          draft saved

          draft discarded



















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f543153%2fwhat-is-the-practical-difference-between-locking-and-deleting-a-user-password%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Ciclooctatetraenă Vezi și | Bibliografie | Meniu de navigare637866text4148569-500570979m