On 5 Mar, 13:53, John Cremona <[email protected]> wrote: > A while back I reported a problem, but had not much useful feedback. I > am running a local sage server which runs under the user "sage" and I > created a pool of other users sage0, ..., sage3 under which the > individual worksheets run. That basically worked fine, except that I > could not run magma from a worksheet (by putting %magma in the top of > the cell) because of some file/directory permissions issue. > > Well, I just turned off the pool of worksheet process users, and now > %magma works fine. (I cannot quite remember what the advantage of the > user pool was supposed to be.) > > Just in case anyone was trying to trouble shoot... > > Can anyone else running a server with a pool of users confirm (or > otherwise) that %magma in a cell works? > > John
>From what I understand the advantage of running one username in the pool is that the user processes run as that user, and so a user can't crash the server. But from what feedback I got from William, there was no advantage in having more than one username in the pool. The usernames are not mapped in any way to the pool names. The username the server runs under needs to be able to ssh to the users with no password. i.e. you need to create a key on the server which has an emptry pass phrase, then copy that to $HOME/.ssh/ authorized_keys of each username in the pool. It would be a lot more secure if one user name was mapped to one user in the pool, as any user can kill all the processes of everyone else running under the same user name. Dave -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
