Changing your password with passwd

Virtually all UNIX systems require passwords to help ensure that your files and data remain your own and that the system itself is secure from vandals and hackers. Code Listing 1.1 shows how you change your passwordy.

Throughout your UNIX adventure, you'll likely change your password lots of times:

  • You'll probably want to change the password provided by your system administrator after you log in for the first time. Hint, hint.

  • You'll probably change your password at regular intervals, as many UNIX systems require that you change your password every so often—every 30 or 60 days or so is common.

  • You might also change your password voluntarily if you think that someone might have learned it or if you tell anyone ...

Get Unix: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.