Ask Your Question
1

Multi-user environment

asked 10 years ago

trackstar2000 gravatar image

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

Preview: (hide)

Comments

have you installed it systemwide, or in your own account?

Dima gravatar imageDima ( 10 years ago )

2 Answers

Sort by » oldest newest most voted
0

answered 10 years ago

trackstar2000 gravatar image

updated 10 years ago

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.

http://www.sagemath.org/doc/installat...

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?

TT

Preview: (hide)
link

Comments

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

Dima gravatar imageDima ( 10 years ago )

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

Dima gravatar imageDima ( 10 years ago )
0

answered 10 years ago

trackstar2000 gravatar image

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()".

Preview: (hide)
link

Comments

a 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).

Dima gravatar imageDima ( 10 years ago )

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

trackstar2000 gravatar imagetrackstar2000 ( 10 years ago )

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

Dima gravatar imageDima ( 10 years ago )

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

trackstar2000 gravatar imagetrackstar2000 ( 10 years ago )

yes, Control-C is good. One can also run 'sage -n' --- this immediately opens the notebook.`

Dima gravatar imageDima ( 10 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 10 years ago

Seen: 933 times

Last updated: Feb 03 '15