On Fri, Dec 18, 2009 at 11:28 AM, William Stein <[email protected]> wrote:
> On Fri, Dec 18, 2009 at 10:19 AM, Stefan <[email protected]> wrote:
>> Hey guys,
>>
>> Is there any way to disable the auto-login feature when a user
>> accesses the Notebook server from the machine?  Since I'm hosting the
>> notebook server in a VM and have an outside port forwarded to the VM,
>> any users that access the server globally get logged in as admin.
>>
>> Thanks!
>
> Yes, that is indeed definitely the case since the option require_login
> is set to False by the script that starts the Sage Notebook in the VM.
> You can edit the file that starts the VM and simply change
> require_login from False to True and that will change the notebook so
> that the admin password is required.      You will also want to set
> the admin password to something personal just for you.
>
> Unfortunately, I don't remember exactly which file you have to edit,
> or exactly what command you should type to change the password.   I
> will check later today when I'm at a computer that has the VM
> installed on it.

Start up the virtual machine.  Double-click on "Terminal", then type

   sudo pico /usr/local/bin/sagenb        # password is "sage"

and edit that file setting require_login from False to True.  Then
restart the virtual machine completely.


William

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