[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

making mgetty respond faster

Posted on 2000-03-06
2
Medium Priority
?
201 Views
Last Modified: 2013-12-16
I would like to make the login prompt mgetty posts once the connection is made, appear a bit faster. The problem is clients need to specify a pause 2 otherwise their information is sent too quickly. I know I could optimize the connection by putting some "expect ..." and "send ..." in the clients' scripts, but I rather not do that. Is there a delay setting in mgetty that I'm missing?
thanks
0
Comment
Question by:tibori
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
avery1 earned 45 total points
ID: 2589191

In my experience there is no way to easily speed this up.

Mgetty spawns a local login program (usually /bin/login).  This is configurable in login.config, or set at compile time in policy.h in the line

#define DEFAULT_LOGIN_PROGRAM "/bin/login"

There is no deliberate delay before the login string pops up, and I don't see a way to make it pop up any faster.  

You might look at login.c in the source.  It first attempts to read the login.config file and then does some checks for file perms and ownership.  You might be able to shave a little time off by tweaking the source in login.c

-Avery
0
 
LVL 3

Author Comment

by:tibori
ID: 2589506
avery1: Unfortunately I believe you're right...but could you change your answer to a comment for a little while to see if this is the general consensus.
Thanks.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month14 days, 22 hours left to enroll

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question