William Stein wrote:

>>>> cd /home/someuser
>>>> su - someuser /home/someuser/sage-4.2/sage &
>>>>
>>> That's a good idea.
>> Does the password less ssh login offer any advantages over that?
>>
> 
> Huge!  It means the worksheet processes are a different user (on a
> different computer if you want) than the server processes, which is a
> massive advantage.

If this is not documented, and I could not find any documentation, some more 
information about mapping of users, reasons for ssh etc would be useful. 
Perhaps 
I'm thick, but this is not obvious.

Would starting a server as user 'sage', at boot time, creating files as user 
sage1, using something like the following:

cd /home/someuser
su - someuser /home/someuser/sage-4.2/sage - notebook (address='', 
server_pool=['sa...@localhost'], ulimit='-v 500000', accounts=True) &

seem sensible? (I'm hoping this can go into the background, otherwise it will 
increase boot time).

That ensures.

1) The process does not run as root, but as user 'sage', despite the fact root 
starts the sage server at boot time.

2) Worksheets are created with a different user 'sage1'.





BTW, I will look tomorrow at creating a zone on 't2' once again. I'll probably 
reboot t2 first, to clear it of any mess. I'm not over keen on doing this in 
the 
global zone, just in case someone manages to find an exploit.

Today I set up a zone on my Blade 2000, using the same subnet (192.168.x.x) for 
the zone as the main machine. It worked first time. I can ssh to the zone. I'll 
probably try Sage out later today in the zone.

I just *might* have a fix for the problem which stops Sage building if Sun 
Studio is installed. Someone on the SCons list has suggested something which I 
have not tried, but might work. But I've had so many issues with SCons, and 
suggestions from others rarely working, I'm not holding my breath.

Hopefully we can get Sage running on t2 very soon. All we need then, it a nice 
task well suited for parallel computing, which we can use. Then hopefully get 
some of the power of that machine, as currently it is not being use to its full 
capability.


Dave

-- 
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

Reply via email to