Thomas, Thanks for your reply. However I think we can do something about the user account. I created a user on my ubuntu server with very few write access. Just make them able to read the files I want on their session (after they can create as many python or other script on their ubuntu account but they are not root user so they can't do whatever they want). Actually make it run as service was an option I though about are you speaking about inserting something like that under ./etc/init.d/ description "jupyter" start on runlevel [xxxx] stop on shutdown respsawn respawn limit 10 15 setuid myuser setgid myuser exec jupyter notebook --ip=x.x.x.x --port=XXXX ? I am not a linux expert. For the rest I indeed already succeeded to make it accessible by other user with password on a web browser. I didn't heard about nohup or screen so far, I will investigate on that, thanks for the info. Aurelien
On Thursday, December 8, 2016 at 11:04:28 PM UTC+8, takowl wrote: > > On 8 December 2016 at 06:49, <[email protected] <javascript:>> wrote: > >> However I want to be able to access my server from anywhere to run some >> script in my webbrowser without having to keep my computer terminal open >> all the time. Or others to check some results on my notebook or do some >> test while I am sleep and and course I don't want to give them ssh access >> to my server so they can't run jupyter on the terminal. >> Is there any daemon on linux that allow me to do that, like unicorn for >> ruby for example. >> > > First: be aware that giving someone access to your notebook server is > equivalent to giving them SSH access - they can run any code as your user > account. So if you don't trust them enough to give them ssh access, don't > give them notebook access! > > I'm not sure exactly what you're asking for. The notebook server already > runs as a web server, and the instructions you linked to should make it > accessible from other computers. If you want to keep it running when you > close your terminal, you can run it in a tool like 'screen' or 'nohup'. It > would also be possible to configure it as a service, so it starts > automatically when you start your computer, and keeps running until it's > shut down. > > Thomas > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/8ad0eb6b-cfcf-4450-bc9b-fab354f1f596%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
