Re: serving up files as a non-root user

From: David Efflandt (efflandt_at_xnet.com)
Date: 03/18/04

  • Next message: Bill Marcum: "Re: PCMCIA ethernet card problem"
    Date: Thu, 18 Mar 2004 03:00:52 +0000 (UTC)
    
    

    On Wed, 17 Mar 2004, Benjamin Ylvisaker <benjaminy@alumni.cmu.edu> wrote:
    > I'm not sure this is the right forum for this question, but anyway:
    >
    > I'm a graduate student and I have a workstation in my office for which
    > I do not have root access. I have some largish files on that computer
    > that I would like to serve over the internet so that I can easily
    > access them wherever I go. Is there some good way to go about this?
    > I looked for a simple http server that can be installed and run
    > without root privileges, but I haven't had any luck yet.

    You should be able to run a web server without root permission if you
    properly configure it to use a port higher than 1024 (which would have to
    be included in the URL, since it would be non-standard).

    Then if that box is not on an unrestricted public IP, you would need to
    have admin forward that port into your IP.

    Or you could get a Unix shell account somewhere that includes web space
    (like sdf.lonestar.org alias www.freeshell.org). As long as you have
    permission to distribute such file.

    -- 
    David Efflandt - All spam ignored  http://www.de-srv.com/
    

  • Next message: Bill Marcum: "Re: PCMCIA ethernet card problem"

    Relevant Pages

    • Re: Secure Web-Based Administration
      ... You would be best off using webmin, ... Instead of invoking root processes from your web server, ... the web server process leave authenticated requests in a queue. ... Subject: Secure Web-Based Administration ...
      (Focus-Linux)
    • Re: Root growing
      ... and other such stuff on my web server. ... especially when talking about running X as root is basically ... your normal user password, to do privileged actions. ... the default on openSUSE installations for a while now. ...
      (alt.os.linux.suse)
    • Re: sendmail messages bounce
      ... installed sendmail on a server which I am also using as a web server. ... verification back, which fails, causing the original email to bounce. ... root is configured as an exposed user - please see cf/README. ...
      (comp.mail.sendmail)
    • Re: Avoid while on line, apache & X as root?
      ... Without the web server making some form of request, ... but why would it be unsafe if not online and if the system is backed up? ... I've never had problems running X as root, ... This is the most common configuration for a router. ...
      (alt.os.linux.suse)
    • Re: Apache 2.2 & Perl CGI::Simple running under separate uids: SCGI? FCGI? PSGI?
      ... | CGIwrap needs to be installed set-uid to root. ... Log in as root, change ... root to change your process to another UID. ... and have the web server talk to them with FastCGI ...
      (comp.lang.perl.misc)