Date: Sun, 24 Mar 2002 23:42:52 +0000 (GMT) From: "Philip M. Gollucci" <philip@sduwebship.student.umd.edu> To: Jim Conner <jconner@enterit.com> Cc: Steven Lake <raiden@shell.core.com>, <freebsd-questions@FreeBSD.ORG> Subject: Re: Showing Uptime Via webpage Message-ID: <20020324234134.X43869-100000@sduwebship.student.umd.edu> In-Reply-To: <5.1.0.14.0.20020324032940.038c7fe8@mail.enterit.com>
index | next in thread | previous in thread | raw e-mail
You could always make a .shtml (Server Parsed HTML Page)
<!--#exec cmd="uptime" -->
etc..
I would definetely secure this and deny access for everything other then
absolutely neccessary.. You can get way too much information from this.
Esp if you run top or something.
END
------------------------------------------------------------------------------
Philip M. Gollucci (p6m7g8) philip@p6m7g8.com 301.314.3118
Science, Discovery, & the Universe (UMCP)
Webmaster & Webship Teacher
URL: http://www.sdu.umd.edu
EJPress.com
Database/PERL Programmer & System Admin
URL : http://www.ejournalpress.com
Resume : http://p6m7g8.com/Work/index.html
On Sun, 24 Mar 2002, Jim Conner wrote:
> Perl script would be better. If you really wanted to be
> lack-of-security-minded you could even do cgi with shell. But, now I
> wouldn't recommend doing a thing like that. T'would be very easy but not
> very secure.
>
> - Jim
>
> At 22:41 03.23.2002 -0600, Steven Lake wrote:
> > Hi all. Just a curiousity question. If I wanted to have a
> >special hidden page which showed me all of the current processes, total
> >uptime, list of last logins, or other things like that which automatically
> >refreshed each time I reloaded the page, how would I do that? Do I make a
> >perl script for that, or can I do it directly through Apache? Kinda
> >curious about this cause it would be nice if I could do that.
> >
> >
> >To Unsubscribe: send mail to majordomo@FreeBSD.org
> >with "unsubscribe freebsd-questions" in the body of the message
>
> -----BEGIN PGP PUBLIC KEY BLOCK-----
> Version: GnuPG v1.0.6 (MingW32)
> Comment: For info see http://www.gnupg.org
>
>
>
> - Jim
>
> Philosophy is for those who have nothing better to do than wonder
> why philosophy is for those who have nothing better to do than...
>
>
> mQGiBDxAonQRBACx+sz63XIeo5uTzc5n3Elf7Y13VVZGIM8Pilp3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DsOoT4gLSPNTqSsyDt6TNLtGMAAwUIAINeot1FVpree5bvhy3xL+Pr1UGb++DM
> b8Qeer6ERkVQNx7YoU8hfpqOwvEQMyfb9s6HPfSWRUfQRF+g+9ohPgYkH+1nqH3V
> PtGSw1kgLOqxZQTVPEcAMhSflt9LSJETIQQByKKh1e5RvOuApwBFmQq3syRhzqv/
> j2b6t3IqAB9WR5TnoYkdUtTWM9MGubiFl5B9uH5EHWAlFF8h760U7Xp9m1J3qTyH
> EJqjfGj2SP2DK5cisuWOWdPy5aSqT7ZKrcKeSTDUyiHclI1ygFHue8oO0HXqrs+k
> KjFdRqIKnzfY9gW/b/6gLHhBDV6BoA9w6+1Y9egOByRcVonE8zY/xMeIRgQYEQIA
> BgUCPECjcgAKCRDmnFh04+r7ZcyDAJ4ogYX7W4u8g+QJsksyL4Ld+dObCwCfU7hB
> 7I3ZgTsYwP6mr5RPjkH5PG8=
> =QOu8
> -----END PGP PUBLIC KEY BLOCK-----
> __END__
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020324234134.X43869-100000>
