(Click to open topic with navigation)
To set a new password, use the command gchpasswd. If the user name is not specified via an option or as the unique argument, then the invoking user will be taken as the user whose password will be set. The invoker will be prompted for the new password.
gchpasswd [--debug] [--site site_name] [--help] [--man] [--quiet] [--verbose] [--version] {[-u] user_name}
Example 17-1: Setting a password
$ gchpasswd amy
Enter your new password:
Successfully created 1 password
Related topics