-
- passwd - change user password or shell or home directory
-
- passwd [ options ] [user_name]
-
- passwd changes the password or shell associated with the user given by name or the current user if name
is omitted. By default, the current password is prompted for, and a new one must be entered and confirmed.passwd
command can also be used to change the home directory where the path stands for the home directory.
-
- -s, --shell
- Change the login shell instead of the password. The shell must be one of those listed
in /etc/shells.
- -h, --home=home
- Change the home directory. If the home is an empty string the home
directory will be cleared. Otherwise home can be in either the Windows format or Unix format.
-
- 0
- Successful completion.
- >1
- An error occurred.
-
- id(1), login(1)
-
- version
- passwd (AT&T Labs Research) 1999-11-10
- author
- Glenn Fowler <gsf@research.att.com
>
- author
- David Korn <dgk@research.att.com>
- author
- Phong Vo <kpv@research.att.com>
- copyright
- Copyright © 1986-2010 AT&T Intellectual Property
- license
- http://www.opensource.org/licenses/cpl1.0.txt