On Fri, Jul 25, 2008 at 6:26 PM, Timothy Clemans
<[EMAIL PROTECTED]> wrote:
>
> First load the Notebook object.
> sage: nb = load('.sage/sage_notebook/nb.sobj', compress=False)
Just a heads up -- make sure to do this with the notebook server *not* running.
I'm sorry this is so inconvenient, by the way.
-- William
>
> Adding a new user:
> sage: nb.add_user('michael', 'AxhmjuK', '[EMAIL PROTECTED]', force=True)
> sage: nb.save()
>
> Changing user's password:
> sage: nb.change_password('michael', 'CCDY')
> sage: nb.save()
>
> Deleting published worksheet:
> Find the url of the worksheet you want to delete such as
> http://sage.math.washington.edu:8999/home/pub/0/
> sage: nb.delete_worksheet('pub/0')
> sage: nb.save()
>
> Deleting a user:
> sage: nb.del_user('michael')
> sage: nb.save()
>
> 2008/7/25 Thierry Dumont <[EMAIL PROTECTED]>:
>>
>> Hi,
>>
>> I have some questions about Sage management:
>>
>> 1) How to suppress a user (created in the Notebook)
>> -There is user_db.py in notebook/ with remove_user(self, user)
>> but how to use it ?
>> 2) Is it possible to change the password of a user ?
>>
>> About published worksheets:
>>
>> 3) How to suppress a published worksheet ?
>>
>> Thank you in advance.
>> t.d.
>> --
>>
>> Thierry Dumont. Institut Camille Jordan -- Mathematiques--
>> Univ. Lyon I,43 Bd du 11 Novembre 1918, 69622
>> - Villeurbanne Cedex - France.
>> [EMAIL PROTECTED] web: http://math.univ-lyon1.fr/~tdumont
>>
>>
>
> >
>
--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org
--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---