On Jan 16, 2008 9:18 AM, Robert Bradshaw <[EMAIL PROTECTED]> wrote:
>
> In the next release of Sage it won't be necessary to provide a
> password at all on startup, so we don't need to set one. Having a

He's talking about the step the very first time one runs the notebook,
where it prompts for a password (at the text prompt).  Your fix
I don't think addresses that.  It's in notebook.setup().

Sage doesn't support what he wants yet.  We can add something
though as soon as somebody suggests a sensible design.

> default "common" password would be a security risk (as is running
> inotebook, potentially).

On a multiuser system using inotebook is stupid.  Any other user
on the system can trivially login to your notebook server and delete
or change any of your files, etc.   I use inotebook all the time ON MY
LAPTOP, but would never use it on a multiuser system.

> Another question is about certificates--for which info is asked the
> first time Sage is started up. This could be automated too.

Yep.

>
> On Jan 16, 2008, at 5:59 AM, gri6507 wrote:
>
> > Hello,
> >
> > First, to set the context for this thread. I am wrapping up the
> > packaging of SAGE in RPM form. One of the things that I am trying to
> > do now is to create a simple menu entry (shortcut) so that users can
> > easily and conveniently start sage's notebook.
> >
> > My goal is to have the menu entry be a basic shell script like
> >
> > #!/bin/sh
> > /usr/bin/sage -inotebook &
> > sleep 4
> > www-browser localhost:8000
> >
> > However, it seems that to do so, regardless of whether the requested
> > notebook is secure or not, the user is asked for a password (Admin
> > password in the case of the inotebook). And since my shell script
> > needs to be backgrounded, the user cannot input the Admin password
> > (unless, they know how to foreground and background processes, which I
> > can't assume they do).
> >
> > At the same time, it seems like starting inotebook only asks for the
> > Admin password once and, once its set, it does not need to be set
> > again. So, at least in theory, I should be able to set the Admin
> > password during the RPM installation. Which brings me to my question.
> > Is there a way to programatically input the Admin password from the
> > command line (something like sage -c password=blahblah)? If not, then
> > I have to jump through some hoops to be able to set the password
> > initially.
> >
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to