I have already sled this on Ask a Question and tried the following:

Nothing seems to work.




from sagenb.notebook.notebook import load_notebook
nb = load_notebook("directory_to_run_sage_in")
user_manager = nb.user_manager()
user_manager.set_accounts(True)
user_manager.add_user("username", "password", "email@place", "user")
nb.save()

link<http://ask.sagemath.org/question/3176/cant-change-user-name?answer=4275#4275>

posted *yesterday*
[image: Shashank gravatar image]<http://ask.sagemath.org/users/92/shashank/>
Shashank <http://ask.sagemath.org/users/92/shashank/> [image: flag of 
United States] 
1655 ● 7 ● 28 ● 60 

Thank you, but it's all Greek to me. I think I did have a user name for the 
notebook but can't think of it. Both it and the password were 'saved' and 
in the past I just hit the button.
Jim <http://ask.sagemath.org/users/2143/jim/> (yesterday)

If you want to know your username just open the terminal and type cd 
~/.sage/sage_notebook.sagenb/home and type ls. You will see the usernames 
of all the users. But if you have reset the notebook you should be able to 
log in with admin as the username.
Shashank <http://ask.sagemath.org/users/92/shashank/> (yesterday)

Followed instructions on first command(3x) to get user name - got error 
messages. Reset password again. Put 'admin' as user name - notebook 
response 'wrong password'
Jim <http://ask.sagemath.org/users/2143/jim/> (yesterday)edit
post a comment

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to