On Tue, May 22, 2012 at 11:23 AM, J. Maurice Rojas
<[email protected]> wrote:
> Dear William,
>
>   Greetings from Texas A&M. Hope you're doing well.
>
>    I'm trying to convince my local computer gurus to install Sage,
> but am having some trouble
> with some settings that I know very little about: one sysadmin
> complains that Sage has not
> implemented ldap. The other (who's e-mail I've appended below)
> complains that, for security
> reasons, he does not want to allow the notebook() interface to run.
>
>   In the interest of getting Sage running in our department (and for
> the sake of some summer
> students I'll be teaching) could you please tell me how to disable the
> notebook interface and just use
> the command line?
>
>   I look forward to hearing from you soon.


In the file sage-5.0/devel/sagenb-main/sagenb/notebook/notebook_object.py
change

    def __call__(self, *args, **kwds):   # line 216
        return self.notebook(*args, **kwds)

to

    def __call__(self, *args, **kwds):
        raise RuntimeError("banned")
        return self.notebook(*args, **kwds)

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