ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 04 Feb 2015 14:11:50 -0600Multi-user environmenthttp://ask.sagemath.org/question/25637/multi-user-environment/ Hello,
I just installed 6.4 Sage on Centos and was curious how each user will be accessing Sage. Do each user who log into the Centos machine just open a browser (localhost:8080) to log in with their credentials? Assuming ./sage runs at the start of the server bootup.
Thanks,
TTThu, 29 Jan 2015 10:58:59 -0600http://ask.sagemath.org/question/25637/multi-user-environment/Comment by Dima for <p>Hello,</p>
<p>I just installed 6.4 Sage on Centos and was curious how each user will be accessing Sage. Do each user who log into the Centos machine just open a browser (localhost:8080) to log in with their credentials? Assuming ./sage runs at the start of the server bootup.</p>
<p>Thanks,
TT</p>
http://ask.sagemath.org/question/25637/multi-user-environment/?comment=25672#post-id-25672have you installed it systemwide, or in your own account?Sun, 01 Feb 2015 12:59:55 -0600http://ask.sagemath.org/question/25637/multi-user-environment/?comment=25672#post-id-25672Answer by trackstar2000 for <p>Hello,</p>
<p>I just installed 6.4 Sage on Centos and was curious how each user will be accessing Sage. Do each user who log into the Centos machine just open a browser (localhost:8080) to log in with their credentials? Assuming ./sage runs at the start of the server bootup.</p>
<p>Thanks,
TT</p>
http://ask.sagemath.org/question/25637/multi-user-environment/?answer=25684#post-id-25684
I guess I am confused about the notebook() vs the syntax. How do I prevent the browser from opening up to an admin account when a regular user type "notebook()".Mon, 02 Feb 2015 21:36:22 -0600http://ask.sagemath.org/question/25637/multi-user-environment/?answer=25684#post-id-25684Comment by trackstar2000 for <p>I guess I am confused about the notebook() vs the syntax. How do I prevent the browser from opening up to an admin account when a regular user type "notebook()".</p>
http://ask.sagemath.org/question/25637/multi-user-environment/?comment=25707#post-id-25707For each user that runs --> notebook(). When they are finished, what is the recommended method to close out the session. Control +C, or just close the terminal session?Wed, 04 Feb 2015 10:56:07 -0600http://ask.sagemath.org/question/25637/multi-user-environment/?comment=25707#post-id-25707Comment by Dima for <p>I guess I am confused about the notebook() vs the syntax. How do I prevent the browser from opening up to an admin account when a regular user type "notebook()".</p>
http://ask.sagemath.org/question/25637/multi-user-environment/?comment=25705#post-id-25705in case you might like to know where the notebook files are: they are in ~/.sage/ for the account Sage (nb) is executed from.Thus each user in this configuration will have completely own set of notebooks.Wed, 04 Feb 2015 07:23:22 -0600http://ask.sagemath.org/question/25637/multi-user-environment/?comment=25705#post-id-25705Comment by trackstar2000 for <p>I guess I am confused about the notebook() vs the syntax. How do I prevent the browser from opening up to an admin account when a regular user type "notebook()".</p>
http://ask.sagemath.org/question/25637/multi-user-environment/?comment=25697#post-id-25697That was the confusion. I noticed that anybody who has command line access in the linux machine will have the admin account or the ability to reset it.
Thanks for the clarification.Tue, 03 Feb 2015 16:12:08 -0600http://ask.sagemath.org/question/25637/multi-user-environment/?comment=25697#post-id-25697Comment by Dima for <p>I guess I am confused about the notebook() vs the syntax. How do I prevent the browser from opening up to an admin account when a regular user type "notebook()".</p>
http://ask.sagemath.org/question/25637/multi-user-environment/?comment=25712#post-id-25712yes, Control-C is good. One can also run 'sage -n' --- this immediately opens the notebook.`Wed, 04 Feb 2015 14:11:50 -0600http://ask.sagemath.org/question/25637/multi-user-environment/?comment=25712#post-id-25712Comment by Dima for <p>I guess I am confused about the notebook() vs the syntax. How do I prevent the browser from opening up to an admin account when a regular user type "notebook()".</p>
http://ask.sagemath.org/question/25637/multi-user-environment/?comment=25689#post-id-25689a regular Linux user's notebook() will be run in his/her Linux account. They will be admin for this notebook server, by default (unless they specify another user in notebook() call, or log in via the browser to another, suitably created, nb account).Tue, 03 Feb 2015 03:41:43 -0600http://ask.sagemath.org/question/25637/multi-user-environment/?comment=25689#post-id-25689Answer by trackstar2000 for <p>Hello,</p>
<p>I just installed 6.4 Sage on Centos and was curious how each user will be accessing Sage. Do each user who log into the Centos machine just open a browser (localhost:8080) to log in with their credentials? Assuming ./sage runs at the start of the server bootup.</p>
<p>Thanks,
TT</p>
http://ask.sagemath.org/question/25637/multi-user-environment/?answer=25679#post-id-25679I installed on an (non root )account but have given everyone read access. It is still installed in /usr/tmp/sage/sage-6.4.1 I am looking at this.
http://www.sagemath.org/doc/installation/source.html#general-procedure
Confused about this. Does each user who logs into the server run ./sage (with their linux credential) or is it a one time startup (system level) and the user just opens the browser an enter the sage accounts?
TTMon, 02 Feb 2015 13:35:11 -0600http://ask.sagemath.org/question/25637/multi-user-environment/?answer=25679#post-id-25679Comment by Dima for <p>I installed on an (non root )account but have given everyone read access. It is still installed in /usr/tmp/sage/sage-6.4.1 I am looking at this.</p>
<p><a href="http://www.sagemath.org/doc/installation/source.html#general-procedure">http://www.sagemath.org/doc/installat...</a></p>
<p>Confused about this. Does each user who logs into the server run ./sage (with their linux credential) or is it a one time startup (system level) and the user just opens the browser an enter the sage accounts?</p>
<p>TT</p>
http://ask.sagemath.org/question/25637/multi-user-environment/?comment=25688#post-id-25688In the latter case you don't even need Sage nb users to have Linux accounts on the server, but watch out for security settings in this case...Tue, 03 Feb 2015 03:33:11 -0600http://ask.sagemath.org/question/25637/multi-user-environment/?comment=25688#post-id-25688Comment by Dima for <p>I installed on an (non root )account but have given everyone read access. It is still installed in /usr/tmp/sage/sage-6.4.1 I am looking at this.</p>
<p><a href="http://www.sagemath.org/doc/installation/source.html#general-procedure">http://www.sagemath.org/doc/installat...</a></p>
<p>Confused about this. Does each user who logs into the server run ./sage (with their linux credential) or is it a one time startup (system level) and the user just opens the browser an enter the sage accounts?</p>
<p>TT</p>
http://ask.sagemath.org/question/25637/multi-user-environment/?comment=25687#post-id-25687There are two things you can do - either let each user on the machine to run Sage separately, just by running /usr/tmp/sage/sage-6.4.1/sage, or you run a "public" Sage nb server. In the latter setup accounts on the (Linux) server have nothing to do with accounts on the Sage nb server.Tue, 03 Feb 2015 03:31:14 -0600http://ask.sagemath.org/question/25637/multi-user-environment/?comment=25687#post-id-25687