Solved

Howto setup an extra Dialup Password ?

Posted on 2002-06-27
4
225 Views
Last Modified: 2010-04-20
Linux (rh 7.x) I cant seem to find any info on setting up a "dialup password" on my modem serial ports. I am currently using mgetty on the modem ports.
0
Comment
Question by:medent
[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
4 Comments
 
LVL 4

Accepted Solution

by:
Robson earned 100 total points
ID: 7116411
Do you want to setup dialup PPP connection or to have serial terminal only? In first case, simply use the same login and password as on local console. In second case, you have to use pppd and its 'secret' files: either PAP or CHAP secrets (man pppd tells more).

Anyway have a look at related HOWTO's:

http://www.tldp.org/HOWTO/Modem-HOWTO.html
http://www.tldp.org/HOWTO/PPP-HOWTO/index.html

0
 

Author Comment

by:medent
ID: 7121579
I am looking to cover both types of use on the same port ,so login would kick up its normal login and password, but would follow with a second "dialup" password.  I see nothing in the howto links you provided regarding this. We support both modes of incoming calls (ppp, and standard serial).
0
 
LVL 4

Expert Comment

by:Robson
ID: 7122219
In this case you need to create an user with /usr/bin/pppd as his login shell. Then add certain secret in pppd secrets (for example /etc/ppp/chap-secrets) Note, that client's name in sercrets file doesn't need to be the same as login name, thus providing additional security.

When pppuser logs in, login program first asks about login and password (from /etc/passwd and /etc/shadow files), then runs his login shell (pppd in this case). If you set pppd 'auth' option, during PPP negotiation pppd asks other side about secret (refer to PPP-HOWTO and pppd manual page for details). This second 'password' isn't actually typed in login terminal, but has to be supplied to PPP connecting software on the other side (which may be pppd too, but also Windows, MacOS or any other clients).

I think this is most simple way (unless it's not what you actually need).

Tell me please why do you need this kind of login process: maybe AutoPPP login feature will meet your needs?

Have fun!

Robson.
0
 

Expert Comment

by:CleanupPing
ID: 9088984
medent:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
winscp where are logs stored 3 74
000webhost.com default error log 1 60
Linux FTP Error 5 46
Why would ubuntu server 16.04 compress so many small access.log.gz files? 4 35
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

733 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