Ask Your Question
0

reset user password

asked 2012-11-07 05:08:26 +0100

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 20:23:49 +0100

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 20:12:27 +0100

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 13:05:37 +0100 )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-07 05:08:26 +0100

Seen: 974 times

Last updated: Nov 12 '12