Ask Your Question
0

reset user password

asked 2012-11-06 22:08:26 -0500

Dirk Danckaert gravatar image

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'.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2012-11-12 13:23:49 -0500

sage-intro gravatar image

While you are logged into your admin account in the web browser. Click on the settings link in the upper right corner. This will put you on the Account Settings page, here you will click on the Manage Users link right below where it says Account Settings. This moves you to the Users page. Find the name of the User whose password you want to reset and click on the Reset link next to it.

edit flag offensive delete link more
-1

answered 2012-11-11 13:12:27 -0500

sage-intro gravatar image

if you are using a linux environment look into the passwd command. You really didn't supply enough information as to how you are running the program. however the passwd command works with most linux distibutions.

edit flag offensive delete link more

Comments

This is not system accounts, but Sage notebook accounts. The passwd command doesn't apply.

Jason Grout gravatar imageJason Grout ( 2012-11-13 06:05:37 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-11-06 22:08:26 -0500

Seen: 463 times

Last updated: Nov 12 '12