On 1/13/08, bill.p <[EMAIL PROTECTED]> wrote:
>
> I now have notebook working under 2.10.alpha1 (thanks Michael), and
> find the same
> behaviour - it seems to create the entry for bill in nb.sobj (or
> wherever) and I can
> display it,
> {{{
> nb.users()
> |
> {'admin': admin, 'bill': bill, '_sage_': _sage_, 'guest': guest
> }}}
> {{{
> u=nb.users()['bill']; u.account_type()
> |
> 'user'
> }}}
> but when I logout and try to login as bill I get 'invalid user', valid
> names: admin
>
> Just to clarify, this is running on my laptop, under Linux (Ubuntu
> 7.04), with the notebook
> started automatically when I ran sage -notebook (with no additional
> options).
> I had entered
>
> nb=load('/home/bill/.sage/sage_notebook/nb.sobj', compress=False)
> nb.set_accounts(True)
> nb.add_user('bill', 'password','[EMAIL PROTECTED]')
>
> prior to this (several times now :-))
Just out of curiosity, for your purposes would it be OK for you to
just make the accounts manually through the notebook interface?
I.e., just do
sage: notebook(accounts=True)
then click the "Create a new account" button, make each account,
and that's it. Or do you really have to automatically script making
the new accounts? I ask, because I don't think anybody has really
actually ever done the latter, and it's actually not something we
have documented or really support doing. However, creating accounts
through the notebook interface (i.e., via a web browser) is well
supported.
-- William
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---