On Apr 27, 2009, at 5:08 PM, Serge Salamanka wrote:

> I suppose sage user doesn't have rights to create users or Sage itself
> doesn't create unix users.

Sage itself doesn't create the users--thats something that you have  
to set up yourself beforehand. (It would be cool if it could, but it  
takes a lot of permissions to create users...)

>
> just a comment
>
> Serge
>
> Thierry Dumont пишет:
>> I am trying to use Sage (3.4) with a server pool *and* ldap  
>> identification.
>>
>> -> As user "sage" I run the notebook with the following parameters:
>> notebook(port=8001,secure=True,address='',server_pool= 
>> ['sa...@localhost'],open_viewer=False,accounts=True)
>>
>> "sage1" is an other Unix user, and I can ssh from "sage" user to  
>> "sage1"
>> without password.
>>
>> -> Suppose that this is the first time I log in sage; I give my login
>> and password, look for them in the ldap directory and, if  
>> everything is
>> ok, I proceed exactly as for a public server, that is to say that  
>> Sage
>> creates a new user (a new Sage user).
>>
>> I can verify that Sage is running as "sage1".
>>
>> But the new user is created in the .sage/sage-notebook/worksheets  
>> of the
>> *sage* user (not the *sage1*).
>> I can connect to the server, but then, and for me it is not  
>> surprising,
>> I have no rights and can do nothing:
>>
>> Example:
>> --------
>> 2+1
>> (evaluate)
>> Traceback (click to the left for traceback)
>> ...
>> IOError: [Errno 13] Permission denied:
>> '/home/sage/.sage/sage_notebook/worksheets/Thierry.Dumont/2/code/ 
>> 1.py'
>> -------
>>
>>
>> On the public sage-server (your server), it seems that sage is  
>> running
>> as "worksheet" (that is what says: system('whoami')), but the "home
>> directories" belong to sage. So there is something I do not  
>> understand.
>>
>> An other (small) problem: I had to unsubscribe from sage-support list
>> for some time. I subscribed again (by mail), but I do not receive
>> answers to my mails, as before unsubscribing. But this not  
>> important, I
>> can look at the messages on the web.
>>
>> Yours
>> t.d.
>>
>> -------------
>> French universities are on a permanent strike!
>> Have a look at the International Call:
>> http://math.univ-lyon1.fr/appel
>> -------------
>>
>>
>
> >


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to