• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Howto setup an extra Dialup Password ?

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
medent
Asked:
medent
  • 2
1 Solution
 
RobsonCommented:
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
 
medentAuthor Commented:
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
 
RobsonCommented:
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
 
CleanupPingCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now