Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Run arbitrary UNIX commands on webserver without telnet

by chip (Curate)
on Nov 13, 2001 at 10:36 UTC ( #125009=note: print w/replies, xml ) Need Help??


in reply to Run arbitrary UNIX commands on webserver without telnet

And the reason why a sane person would install this script is ... ?

    -- Chip Salzenberg, Free-Floating Agent of Chaos

  • Comment on Re: Run arbitrary UNIX commands on webserver without telnet

Replies are listed 'Best First'.
Re(2): Run arbitrary UNIX commands on webserver without telnet
by dmmiller2k (Chaplain) on Nov 13, 2001 at 18:44 UTC

    Not install, per se, but copy to an htaccess-protected directory, use it and remove it.

    Occasionally, I need perl modules built which the ISP cannot or will not install into the system-wide perl directory; with this I could PERL5LIB={local lib directory} perl Makefile.PL LIB={local lib directory}; make; make test; make install to install into a local lib directory of a site I am working on.

    Some canned scripts (I admit it, I sometimes use them) require a variable set to the absolute path of some directory they need; running a simple pwd gives me the prefix of the chroot'ed site.

    You cannot always spec out an ISP that permits telnet access; sometimes, while building a rep with clients, you have to work with what they've got. THEN, when they trust you enough to follow your advice, move them to another ISP

    dmm

      I would recommend firing a consultant who specced out an ISP with telnet access.

      Shell access? Perfectly reasonable using ssh.

      But telnet access?

      OK, installed temporarily with .htaccess protection, I might consider not sacking someone who used the script in question. Maybe.

          -- Chip Salzenberg, Free-Floating Agent of Chaos

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://125009]
help
Chatterbox?
[ambrus]: ad code examples.
[ambrus]: I'm not trying to recommend PHP, but I think it has way too bad a name because of its past.
[ambrus]: This is different from MS Word, which was already a good editor in the pre-unicode days (in word for windows versions 2 and 6, which ran on windows 3 but also on windows 95), only it wasn't trying to solve the task of writing maths papers back then.
[Discipulus]: ah ok, sounds reasonable; with no fear: Perl all life long
[ambrus]: Mind you, LaTeX is currently still useful for writing math paper or snippet content without styling in such a way that the
[ambrus]: formatting conventions of a journal or website can be quickly applied to it, and MS Office and LibreOffice has not quite solved this (although it's better for this than it used to be),
[ambrus]: which is sort of a drawback compared to the ages of typewritten manuscripts representing content only to which the typesetter applies formatting, but that process required much more manual labor.
[ambrus]: If you want to typeset a manuscript, you can still do much less work then in the manual typesetting ages and get good formatting.
[ambrus]: All with only cheap modern computers and software.
[ambrus]: Something you can have at home and your corner print shop, without a whole printing press's worth of equipment.

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2017-09-26 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (293 votes). Check out past polls.

    Notices?