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. --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---