I am connected to an Ubuntu 14 via ssh with user "nuri". I am trying to change the user with "su" command and no success. Below i enter the password for deneme2 correctly and check whoami. Afterwards I enter a wrong password. I am new at ubuntu. Is this supposed to behave like this since I am connected with ssh or something amiss?
nuri@XXX:~$ whoami
nuri
nuri@XXX:~$ su deneme2
Password:
nuri@XXX:~$ whoami
nuri
nuri@XXX:~$ su deneme2
Password:
su: Authentication failure