Solved

Howto setup an extra Dialup Password ?

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
awk sed 8 63
winscp where are logs stored 3 51
Latest thoughts on C# utilizing Mono on Linux vs .NET on Windows? 5 61
CentOS 7 Linux for HP DL380 G4 32Bits 7 46
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
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.:
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.

808 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