First load the Notebook object. sage: nb = load('.sage/sage_notebook/nb.sobj', compress=False)
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 > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---