On Sat, Apr 19, 2008 at 9:59 AM, Alex Ghitza <[EMAIL PROTECTED]> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > William Stein wrote: > | On Sat, Apr 19, 2008 at 9:38 AM, Alex Ghitza <[EMAIL PROTECTED]> wrote: > > | The "mysterious reason" is that we enhanced the security of > | the notebook for local users. Namely, you now *must* do > | > | sage -c "notebook(address='the.address.of.your.computer')" > | > | in order to have the notebook listen on anything other than localhost. > | In 2.10.2 and some earlier versions we temporarily had a *bug* that > | made the notebook listen on all addresses by default. This is less > | secure since people using the notebook locally are exposing themselves > | to the possibility of somebody not logged into their computer attempting > | to hack into the notebook. This behavior is documented a tiny bit > | in the address section of "notebook?", though it's not very detailed! > | > | address -- (default: 'localhost'), address to listen on > | > > Excellent! Gerhard, this now works for me with sage-3.0.alpha5: > > sage -c "notebook(address='137.146.194.57', open_viewer=False, > directory='/home/ghitza/notebooks/ma311')" > > The same command with address='bayes.colby.edu' instead of the ip > address did not work.
That *should* work, at least on most machines it works to give the hostname. That it doesn't on yours means there is something perhaps slightly unusual about your network's configuration. I'm glad using the ip address directly works fine. > Also, before issuing this command I had created > the various user accounts (see notebook? for details on how to do that). > > Best, > Alex > > > > - -- > Alexandru Ghitza > Assistant Professor > Department of Mathematics > Colby College > Waterville, ME 04901 > http://bayes.colby.edu/~ghitza/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkgKJOUACgkQdZTaNFFPILgfzwCeMnZVqC4u3NqC5RNNBPRsIOLQ > rtoAn2RHTVRfj++tqZB12wcv1iQAlPSe > =fbuo > > > -----END PGP SIGNATURE----- > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---