Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Changin login prompt

Posted on 2000-02-21
6
Medium Priority
?
253 Views
Last Modified: 2013-12-16
I am setting up a  Linux dialup server, and would like for Windoze users to be able to log in without having to use a script. I'm not sure exactly why the Windoze machines will not log in without a script, but I believe it has to do with the login prompt that's presented by the dialup server. Currently it is "<machine name> login:" I believe if it would be just "login:" the win machines would login automatically. If I'm wrong on this please let me know, if not, please advise on how to change the login prompt.
Thank you,
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
6 Comments
 

Expert Comment

by:i_wichmann
ID: 2543690
/etc/issue.net is the configuration-file you ar looking for
0
 
LVL 3

Author Comment

by:tibori
ID: 2543749
This file only has the first set of information in it, specifically:
"Redhat Release 6.1(Cartman)
Kernel 2.2.12-20 on an i586"

It doesn't contain the login prompt. Do I need to edit this or the script in rc.local to change the prompt?
0
 
LVL 3

Author Comment

by:tibori
ID: 2544078
I need the config file to change the actual login prompt from "<machine name> login:" to just "login:". I think it's a parameter either under rc.sysinit or something passed to /bin/login but I'm not sure
0
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 
LVL 21

Expert Comment

by:tfewster
ID: 2544134
Have a look in /etc/services: the listeners defined in there can be started up with various options (e.g. telnetd can be started with -b /path/newbanner)

You'll still need to look at the man pages for the various listener services to see what the options are...
0
 
LVL 3

Accepted Solution

by:
monas earned 80 total points
ID: 2546993
tibori,

      First. I doubt that MS will be able to work without script even if you will achieve that your RH box will say only "login:". This is due to fact that all windows based dialup servers do not provide login:/password: prompts. They get this information incapsulated into PPP messages. IMHO if you want to go without script - you should provide the same schema. Let's try to achieve this...

      First - you need to start from program that "picks your phone". I don't have RH at hand so I could not say for sure, but under linux all these programs  are named *getty. Take a process list and search for exact name "ps -ax|grep etty"

      Most likely this program will be started "from inittab" - so to do any changes on it - you may need to edit /etc/inittab and to commit changes - issue command "telinit q".

      For dialup line handling I do use mgetty. It's config files on my system are in /usr/local/etc/mgetty+sendfax directory. And if you uncoment line /AutoPPP/ you may achieve that this program will start ppp deamon upon receiving a call.

      When you went so far - you _MUST_ configure your PPP to require that called authenticate itself before transfering information. To do this - look into /etc/ppp directory. There is file "options". Make sure you uncomment "auth". Authentication method is up to you, but I would recoment uncommenting "+chap" option.

      This is [IMHO] way to go. Good Look!
0
 
LVL 3

Author Comment

by:tibori
ID: 2547686
Sadly, I think you're right. I've played around with AutoPPP already, but I haven't been able to work, probably because the mgetty rpm I used did not have AutoPPP compiled into it by default. Anyways, I HAVE been able to change the login prompt to just login: and you're right it doesn't work. Just for reference to others though the way to change the login prompt for mgetty is either by putting "login-prompt <login prompt>" into the /etc/mgetty+sendfax/mgetty.config file or by passing it the -p <loginprompt> option through the command line. The default prompt: <machine name login:> is precompiled into the kernel. The nice thing about this command is that you can change the login prompt for each modem you have and add all kinds of information to it.
monas: I will try the auth option and get back to you.
Thanks
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.
Suggested Courses

604 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