Solved

Howto setup an extra Dialup Password ?

Posted on 2002-06-27
4
223 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
  • 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
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…
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…
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.

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now