FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-31-2008, 02:02 PM
Martin McCormick
 
Default UNIX Logins by Proxy Over the Web

I am hoping to break what could be a large problem in to small
enough segments to get started on.

I need to set up a way to let clients have access to a
UNIX-based application that uses standard input and output to
let them fill in information like: What is the name of the
system you wish to register? What building will this device be
in? etc.

The web server that the clients would initially use is
not under my control but the UNIX application would hopefully
be.

The way I imagine it, when a client clicks a link,
he/she triggers the server to ssh to an account on the UNIX
system where they begin running my application by default, in
other words, that's all you can do there. When finished, the
connection drops.

I am thinking this should be relatively easy for the web
developers to implement but do not know enough about web state
of the art to do it myself.

The UNIX part is something I certainly can do so what I
am trying to do is divide and conquer as far as the scope of the
problem.

I want to tell the web developers, "Just get them here
to this user ID on this system and I'll take care of the rest."

If the web application that connects the user to the
UNIX system can mine the user's IP address and possibly even his
Ethernet address and pass them as variables, this would be
fabulous.

Basically, I know anything is possible but is this
practical? The clients will mostly be running Windows and will
probably not even have any idea they are dealing with a UNIX
system. They will just answer what questions we don't already
have answers to.

Thanks for constructive suggestions as this is presently
only in the planning stage.

Obviously, the UNIX application needs to instantly die or
ignore control characters so that it can't be hijacked.

Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Network Operations Group


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-31-2008, 02:21 PM
"David A. Parker"
 
Default UNIX Logins by Proxy Over the Web

The way I imagine it, when a client clicks a link,
he/she triggers the server to ssh to an account on the UNIX
system where they begin running my application by default, in
other words, that's all you can do there. When finished, the
connection drops.



Could you have a web form which collects all the necessary information
from the user, and then sends it to the UNIX server in a file which your
application can parse? That way, users would not be interacting with
the UNIX server at all.


- Dave

--

Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-31-2008, 02:58 PM
"Sam Kuper"
 
Default UNIX Logins by Proxy Over the Web

2008/7/31 David A. Parker <dparker@utica.edu>


Could you have a web form which collects all the necessary information from the user, and then sends it to the UNIX server in a file which your application can parse? *That way, users would not be interacting with the UNIX server at all.



I think David's absolutely right: this is almost certainly the easiest and most secure way to achieve your stated goal. On submission of the form, the web app would write the submitted data to a file (or database) and feed it to your UNIX app.
 
Old 07-31-2008, 03:03 PM
"elijah r."
 
Default UNIX Logins by Proxy Over the Web

> The web server that the clients would initially use is
> not under my control but the UNIX application would hopefully
> be.

If the initial web server is not under your control, but the UNIX
server is, why not install a web server on the UNIX machine?
That would be the cleanest, fastest way to do this. I think that
initiating SSH sessions through code-behind could work, but won't be
as easy to troubleshoot when it breaks, and IMHO is more likely to do
so. Installing a web server on the UNIX machine would allow you to
pass all your information from one server to the next through
encrypted querystrings. This could then be decrypted and piped into
your program using a fairly simple CGI script.

>
> The way I imagine it, when a client clicks a link,
> he/she triggers the server to ssh to an account on the UNIX
> system where they begin running my application by default, in
> other words, that's all you can do there. When finished, the
> connection drops.
>
> I am thinking this should be relatively easy for the web
> developers to implement but do not know enough about web state
> of the art to do it myself.
>
> The UNIX part is something I certainly can do so what I
> am trying to do is divide and conquer as far as the scope of the
> problem.
>
> I want to tell the web developers, "Just get them here
> to this user ID on this system and I'll take care of the rest."
>
> If the web application that connects the user to the
> UNIX system can mine the user's IP address and possibly even his
> Ethernet address and pass them as variables, this would be
> fabulous.
>
> Basically, I know anything is possible but is this
> practical? The clients will mostly be running Windows and will
> probably not even have any idea they are dealing with a UNIX
> system. They will just answer what questions we don't already
> have answers to.
>
> Thanks for constructive suggestions as this is presently
> only in the planning stage.
>
> Obviously, the UNIX application needs to instantly die or
> ignore control characters so that it can't be hijacked.
>
> Martin McCormick WB5AGZ Stillwater, OK
> Systems Engineer
> OSU Information Technology Department Network Operations Group
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>



--
http://elijahr.blogspot.com/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 01:25 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org