A few days ago, we were connected to a xenserver through ssh (user root) from 2 different stations. And we tried passwd, and we changed the root password to 2 different passwords simultanously. And we were a little confused why it didn't ask the current password before accepting the new one. And as expected the last given password is working and the one who could kick the other out to change it is the winner...!
How can I manage a way that the current password have to be asked?