hello,

i created 2 users 'junior' and 'senior' and was able to ssh into the
box with these two accounts.
now as 'junior' i'd like to sudo to 'senior' but receive 'Login
incorrect' after entering the junior's password.
$sudo -H -u junior bash "cd; exec bash --login"
Password:
Login incorrect.

the password i use is the same as the one used in ssh. what am i
missing here? thanks.