Get telnetd to start a process other than login


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Get telnetd to start a process other than login
# 1  
Old 10-29-2001
Network Get telnetd to start a process other than login

I want to be able to get telnetd to start a program of my choice or one that I have written . . . or . . . write a daemon of my own to listen on a port other than 23 and when a connection arrives it should create a controlling tty/pty and then launch my program on the client side of the pty.

A client wants to be able to "telnet" to my box and have perl scripts and shell scripts do the authentication, not the unix login process.

OS is HP-UX 10.20 or 11
# 2  
Old 10-29-2001
Might consider looking at the man page for getty and gettydefs for starters. Also, the man pages for login and login.defs may be helpful as well.
# 3  
Old 10-29-2001
Data

getty and getty.defs deal only with serially connected terminals. login and login.defs is what I would like to replace, so I didn't see anything intersting in there either.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Process Scheduling where to start

Hello, i'm absolutely new to the whole Operating Systems thing. I am pretty much level 0. My assignment is to "simulate the execution of a stream of processes by a computer system, one CPU, many terminals 12 disk drives, 30 public mailboxes. The professor runs a series of inputs which is a... (1 Reply)
Discussion started by: JaneSkylar
1 Replies

2. Ubuntu

start service when get login prompt

Hi Team, I am using DRBL environment on Ubuntu. When my machine starts some times it's not starting lxdm & nslcd service. Because of that i didn't get graphic mode & also not able to authenticate user as nslcd is also stops. I have to login as root and restart these two services, then i am able... (0 Replies)
Discussion started by: paragnehete
0 Replies

3. UNIX for Dummies Questions & Answers

Script to start background process and then kill process

What I need to learn is how to use a script that launches background processes, and then kills those processes as needed. The script successfully launches the script. But how do I check to see if the job exists before I kill it? I know my problem is mostly failure to understand parameter... (4 Replies)
Discussion started by: holocene
4 Replies

4. Shell Programming and Scripting

Script - How to automatically start another process when the previous process ends?

Hi all, I'm doing automation task for my team and I just started to learn unix scripting so please shed some light on how to do this: 1) I have 2 sets of datafiles - datafile A and B. These datafiles must be loaded subsequently and cannot be loaded concurrently. 2) So I loaded datafile A... (10 Replies)
Discussion started by: luna_soleil
10 Replies

5. Solaris

How can I start Solaris without Graphical Desktop login?

Hi All, Any ideas on how to start Solaris 10 x86 without the Graphical Desktop login? I'm just interested in having the console login (text based) when starting Solaris. Thanks in advance, Daniel (4 Replies)
Discussion started by: danielsf
4 Replies

6. Shell Programming and Scripting

how to start a process and make it sleep for 5 mins and then kill that process

how to start a process and make it sleep for 5 mins and then kill that process (6 Replies)
Discussion started by: shrao
6 Replies

7. Solaris

Can't start telnetd

Hello all, I've got a problem on a V240 running Solaris 9, the telnet daemon won't start. The error message I get is "telnetd: stdin is not a socket file descriptor." I've never seen this message before and I'm not exactly sure what it means. I know generally what stdin, sockets, and file... (4 Replies)
Discussion started by: ONEX
4 Replies

8. Shell Programming and Scripting

want to login remotly to server and start exe

Hello Unix Guru I need help to write the shell script My requirement is i have to start exe in unix hosts ( 20 unix server) through shell script . currently i have to login to all host rlogin -l testadmin servername /users/testadmin/bolt/ source boltsrc ./executor start ... (1 Reply)
Discussion started by: getdpg
1 Replies

9. Programming

get process start time

Hi all, I like to know how can I get currenlty running process start time and date , I know only porcess id in solaris and hp-ux and what is command to get same using ps with switch. Thanks Naeem (1 Reply)
Discussion started by: naeem ahmad
1 Replies

10. UNIX for Dummies Questions & Answers

To start login/programms on boot up

Dears, I m using SCO V and running 3 different aplications (has different logins) constantly on the server console in 3 different screens. I want to develop a script which can start the programms on booting the systems. OR If automatic login can be configured on different screens will help me... (1 Reply)
Discussion started by: skant
1 Replies
Login or Register to Ask a Question