On 8/25/12 12:10 AM, P Purkayastha wrote:
On 08/25/2012 03:31 AM, kcrisman wrote:On Thursday, August 23, 2012 10:57:27 PM UTC-4, P Purkayastha wrote: If you want a completely new set of accounts and don't want to retain any of the old accounts, you can simply move the old sagenb directory (usually it is DOT_SAGE/sage_notebook.sagenb) to a different backup folder in your filesystem. Next time you run the sage notebook, it should create a new DOT_SAGE/sage_notebook.sagenb for you. On Friday, August 24, 2012 2:09:28 AM UTC+8, Gary wrote: Hello, ppurka, is there any way for one to only remove some accounts? Is there some text file that would have this information that he would have access to as sysadmin? (This would be useful for us eventually too.)A pickle file containing the user names and passwords is created in the name.sagenb directory. I am not sure how openid is handled though. So potentially what could be done is delete the user name from the pickle file and then delete all the user data from name.sagenb/home/<username>
I believe the openid users are also in that pickle file.
There is also a hierarchy of directories that is created for each user. For example in name.sagenb/home a user test2 is a symlink to test2 -> __store__/a/ad/ad0/ad02/test2 I am not sure what that hierarchy was intended to achieve. If it is unique for each user, then this set of empty directories should also be deleted.
The hierarchy is a standard way to get around the problem that filesystems can only have so many subdirectories in a directory. Splitting things up in that heirarchy is what allowed sagenb.org grow past 32000 accounts (IIRC).
Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en.
