Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 5
    Have you checked the documentation of useradd? It says -p The encrypted password, as returned by crypt(3). Commented Jul 1, 2014 at 20:46
  • From man page of useradd if you look for option p, it has the information as specified above and it has this information as well. The default is to disable the account. Commented Jul 1, 2014 at 21:32