# Revision history [back]

How do I - as an admin - reset another users password?

I added all students in my class by defining 'um' as a user_manager object, usr as a string and then executing

um.add_user(usr,usr,'',"user")


I expected the same string would act both as user-ID and password, but that is not the case: the users are added, with correct user-id, but unknown password. I then tried to change the password, e.g. for user ac0101, from the sage-prompt like this:

um.user('ac0101').set_password('abcd')


I expected that this would set the password to 'abcd', but that is not the case. No errormessage appears, but I still cannot login with password 'abcd'.