info > passwd(1)

Not found locally for passwd. Try Google search

PASSWD(1) - User Commands

πŸ‘€ NAME

passwd - change user password

πŸš€ Quick Reference

Use CaseCommandDescription
Change own passwordpasswdPrompts for old and new password.
Change another user's password (root)passwd LOGINSuperuser can change any account.
Lock a passwordpasswd -l LOGINDisables password by adding '!' to encrypted field.
Unlock a passwordpasswd -u LOGINRestores previous password value.
Delete a passwordpasswd -d LOGINMakes account passwordless.
Show account statuspasswd -S [LOGIN]Displays password state and aging info.
Expire password immediatelypasswd -e LOGINForces password change at next login.
Set password agingpasswd -n MIN -x MAX -w WARN -i INACTIVE LOGINConfigure minimum, maximum, warning, and inactivity days.
Show all users’ status (root)passwd -SaList status for all accounts (combines -S and -a).

πŸ”§ SYNOPSIS

passwd [options] [LOGIN]

πŸ“– DESCRIPTION

The passwd command changes passwords for user accounts. A normal user may only change the password for their own account, while the superuser may change the password for any account. passwd also changes the account or associated password validity period.

πŸ”’ Password Changes

πŸ’‘ Hints for user passwords

βš™οΈ OPTIONS

⚠️ CAVEATS

πŸ“ FILES

πŸšͺ EXIT VALUES

Exit CodeMeaning
0βœ… success
1🚫 permission denied
2❌ invalid combination of options
3⚠️ unexpected failure, nothing done
4πŸ“‚ unexpected failure, passwd file missing
5⏳ passwd file busy, try again
6πŸ”§ invalid argument to option

πŸ”— SEE ALSO

shadow-utils 4.8.1 02/06/2024


OPENSSL-CMDS(1SSL) - OpenSSL

πŸ‘€ NAME

asn1parse, ca, ciphers, cms, crl, crl2pkcs7, dgst, dhparam, dsa, dsaparam, ec, ecparam, enc, engine, errstr, gendsa, genpkey, genrsa, info, kdf, mac, nseq, ocsp, passwd, pkcs12, pkcs7, pkcs8, pkey, pkeyparam, pkeyutl, prime, rand, rehash, req, rsa, rsautl, s_client, s_server, s_time, sess_id, smime, speed, spkac, srp, storeutl, ts, verify, version, x509 - OpenSSL application commands

πŸš€ Quick Reference

Use CaseCommandDescription
Generate RSA keyopenssl genrsaGenerate an RSA private key.
Generate CSRopenssl reqGenerate a certificate signing request.
View certificateopenssl x509Display certificate information.
Encrypt/decrypt dataopenssl encSymmetric cipher commands.
Compute digestopenssl dgstMessage digest (hash) computation.
Test SSL connectionopenssl s_clientGeneric SSL/TLS client test.
List ciphersopenssl ciphersDisplay available cipher suites.
OCSPopenssl ocspOnline Certificate Status Protocol client.
PKCS#12openssl pkcs12PKCS#12 file (PFX) manipulation.
Version infoopenssl versionDisplay OpenSSL version information.

πŸ”§ SYNOPSIS

openssl cmd -help | [-option | -option arg] ... [arg] ...

πŸ“– DESCRIPTION

Every cmd listed above is a (sub-)command of the openssl(1) application. It has its own detailed manual page at openssl-cmd(1). For example, to view the manual page for the openssl dgst command, type man openssl-dgst.

βš™οΈ OPTIONS

Among others, every subcommand has a help option.

πŸ”— SEE ALSO

πŸ“œ HISTORY

Initially, the manual page entry for the "openssl cmd" command used to be available at cmd(1). Later, the alias openssl-cmd(1) was introduced, which made it easier to group the openssl commands using the apropos(1) command or the shell's tab completion.

In order to reduce cluttering of the global manual page namespace, the manual page entries without the 'openssl-' prefix have been deprecated in OpenSSL 3.0 and will be removed in OpenSSL 4.0.

©️ COPYRIGHT

Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.

3.0.2 2026-06-02


PASSWD(5) - File Formats and Conversions

πŸ‘€ NAME

passwd - the password file

πŸš€ Quick Reference

Field #NameDescription
1login nameUser's login name (unique)
2encrypted passwordOptional; 'x' means shadow; '!' means locked; empty means no password
3numerical user IDUID (0 for root)
4numerical group IDPrimary GID
5user name or comment fieldFull name, office, etc.
6user home directoryInitial working directory
7optional user command interpreterShell (e.g., /bin/bash); default /bin/sh

πŸ“– DESCRIPTION

/etc/passwd contains one line for each user account, with seven fields delimited by colons (":"). These fields are:

If the password field is a lower-case "x", then the encrypted password is actually stored in the shadow(5) file instead; there must be a corresponding line in the /etc/shadow file, or else the user account is invalid.

The encrypted password field may be empty, in which case no password is required to authenticate as the specified login name. However, some applications which read the /etc/passwd file may decide not to permit any access at all if the password field is blank.

A password field which starts with an exclamation mark means that the password is locked. The remaining characters on the line represent the password field before the password was locked.

Refer to crypt(3) for details on how this string is interpreted.

If the password field contains some string that is not a valid result of crypt(3), for instance ! or *, the user will not be able to use a unix password to log in (but the user may log in the system by other means).

The comment field is used by various system utilities, such as finger(1).

The home directory field provides the name of the initial working directory. The login program uses this information to set the value of the $HOME environmental variable.

The command interpreter field provides the name of the user's command language interpreter, or the name of the initial program to execute. The login program uses this information to set the value of the $SHELL environmental variable. If this field is empty, it defaults to the value /bin/sh.

πŸ“ FILES

πŸ”— SEE ALSO

shadow-utils 4.8.1 02/06/2024

passwd(1)
πŸ‘€ NAME πŸš€ Quick Reference πŸ”§ SYNOPSIS πŸ“– DESCRIPTION
πŸ”’ Password Changes πŸ’‘ Hints for user passwords
βš™οΈ OPTIONS ⚠️ CAVEATS πŸ“ FILES πŸšͺ EXIT VALUES πŸ”— SEE ALSO πŸ‘€ NAME πŸš€ Quick Reference πŸ”§ SYNOPSIS πŸ“– DESCRIPTION βš™οΈ OPTIONS πŸ”— SEE ALSO πŸ“œ HISTORY ©️ COPYRIGHT πŸ‘€ NAME πŸš€ Quick Reference πŸ“– DESCRIPTION πŸ“ FILES πŸ”— SEE ALSO

Generated by phpman v4.10.0-7-g98e9fd5 Author: Che Dong Under GNU General Public License
2026-09-10 21:14 @2600:1f28:365:80b0:2634:f534:c836:dc5e
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!