Telnet/Rlogin access needed via Apache on Linux

Telnet/Rlogin access needed via Apache on Linux

Post by Heinz Wittenbeche » Tue, 19 Mar 1996 04:00:00

I've been digging into cgi/html books but am running out of time
to get a demo prog on line to show it's feasable.

I'd like to access a regular logon session from the html page. Rlogin
preferred, but telnet ok too. The login would run a shell script
which sets up the environment and then runs a C program.

Not concerned about security at the moment, I just gotta show it's

If anyone could point me to same samples or give me a skeleton of what I
need to do it would be very much appreciated.

Thanks in advance


* Heinz Wittenbecher,      Byte Designs Ltd.    Voice: (604) 534-0722 *

*                                 *


1. Prevention of multiple access via telnet, rlogin, etc.

Add a check to /etc/profile to see if the user is logged in more than once,
and if they are, log them out.

Something like:

if [ `w -h $LOGNAME | wc -l` -gt 1 ]; then
   echo "Sorry, you can only be logged in once." >&2
   sleep 3
   exit 1

I am trying to develop a script that will prevent certain users from
logging in multiple times to any of the UNIX systems at our facility.
My only solution thus far is to create a file that will be "given" to the
user upon login.  Thus, since the file can only be received once,
users can only perform a remote login one time to any given system.

I am primarily interested in feedbacks regarding feasibility and any
drawbacks.  However, any script would also be greatly appreciated.


2. MODESENSE writing SCSI disk 1 dev 1/64 (ha=0 id=2 lun=0) block=0

3. Do you know profile trick to detect if I logged in via telnet or rlogin

4. Two ethernet cards on same subnet

5. Couldn't login via telnet, rlogin, ftp, ...

6. Date set?

7. Limit user to access Linux Box via telnet

8. Xircom

9. can't access linux box via telnet

10. Accessing DOS BBS via Linux Telnet?

11. Problems with telnet and rlogin access

12. Accessing a CD-ROM drive via Linux NFS in a diskless machine - help needed

13. Troubles to accessing Linux via ethernet networking ---- need help!