On Tue, Feb 16, 2010 at 7:13 PM, Jason Grout
<[email protected]> wrote:
> On 02/16/2010 05:46 PM, [email protected] wrote:
>>
>> On Feb 16, 7:14 pm, Jason Grout<[email protected]> wrote:
>>>
>>> In case anyone is interested, I added my (very rough) set of
>>> instructions for setting up a Sage server under "Other Instructions" at
>>> the bottom of this page:
>>>
>>> http://wiki.sagemath.org/DanDrake/JustEnoughSageServer
>>
>> Thanks for info. What is the advantage to have 10 sageuser accounts?
>> I understand the reason for existence of sageuser, but why do you have
>> 10 sageusers?
>
>
> That was me being paranoid. Each worksheet process executes as a sageuser
> account in a temporary directory. One of the reasons for using the sageuser
> accounts was so that one person can't just go in and modify other people's
> data. The unix filesystem permissions are used to enforce this. However,
> if you only have two sageuser accounts, and three people open up a
> worksheet, then at least two worksheet temporary directories are owned by
> the same sageuser account, so theoretically one of the people could mess
> with another person's code.
Note that with the notebook rewrite I did in October it would be
vastly more difficult for one person to cause any trouble to a second
person's code even if they are running as the same user. However, one
person could easily do "os.system('killall -u `whoami`')" and kill all
user's processes.
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
URL: http://www.sagemath.org