Ask Your Question
0

reset user password

asked 12 years ago

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

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
0

answered 12 years ago

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.

Preview: (hide)
link
-1

answered 12 years ago

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.

Preview: (hide)
link

Comments

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

Jason Grout gravatar imageJason Grout ( 12 years ago )

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: 12 years ago

Seen: 1,042 times

Last updated: Nov 12 '12