?
Solved

Howto setup an extra Dialup Password ?

Posted on 2002-06-27
4
Medium Priority
?
227 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 200 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

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month12 days, 1 hour left to enroll

752 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