Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly

Sortix volatile manual

This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.

PASSWD(1) General Commands Manual PASSWD(1)

NAME

passwd — change user password

SYNOPSIS

passwd [-H] [-c cipher] [user]

DESCRIPTION

passwd changes the password for the specified user, or the current user if none is specified.

The options are as follows:

-c cipher
Hash the password using the specified cipher.
-H
Read a password from the standard input and write the crypt_newpass(3) hash to the standard output. The password database is unchanged.

FILES

/etc/passwd
Password information for all users.

EXIT STATUS

passwd will exit 0 on success and non-zero otherwise.

SEE ALSO

crypt_newpass(3), passwd(5)

October 2, 2016 Sortix 1.1.0-dev
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org