GNU/Linux command : Changing Passwords

commandline session

$sudo -
[sudo] password for jeffrin:
sudo: -: command not found
$
$su -
Password:
root>passwd -e jeffrin
passwd: password expiry information changed.
root>exit
logout
$login jeffrin
login: Cannot possibly work without effective root
$sudo login jeffrin
[sudo] password for jeffrin:
sudo: Account or password is expired, reset your password and try again
Changing password for jeffrin.
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
Password:
Last login: Sat Nov  2 22:01:20 IST 2013 on pts/0
Linux debian 3.11-1-amd64 #1 SMP Debian 3.11.5-1 (2013-10-17) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
No mail.
$exit
logout
$sudo -s
[sudo] password for jeffrin:
Sorry, try again.
[sudo] password for jeffrin:
sudo: 1 incorrect password attempt
$su -
Password:
root>passwd jeffrin
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root>

following video tutorial content may not be accurate