O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

passwd

Synopsis

passwd [-i infosystem] [-l location] [username]

Sets a user password in the designated directory service.

Options

-i

Specify the directory service to use, which may be file, netinfo (the default), nis, or opendirectory.

-l

Depending on the directory service being used, it's either a filename (defaults to /etc/master.passwd), a NetInfo domain name or server/tag combo, a NIS domain name, or an Open Directory node name.

username

Designate whose password will be set. It defaults to that of the user running the command.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required