Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

mgetty + pppd + /etc/passwd authorisation

Posted on 1997-11-17
6
Medium Priority
?
462 Views
Last Modified: 2012-05-04
I am trying to set up my linux box to accept ppp connections using the /etc/passwd file for authorisation. I can get mgetty to detect the that the call is a ppp call and spawn pppd, but i can't get pppd authorisation working.

If I have this in my /usr/local/etc/mgetty+sendfax/login.conf

/AutoPPP/ a_ppp /usr/sbin/pppd

then someone can dial in, but no authentication happens.


if I have this,

/AutoPPP/ a_ppp /usr/sbin/pppd auth -chap +pap login

which is what I think should be happening, authentication always fails, even though the correct user/passwd (from /ec/passwd) is used.

I Suspect what I need is something in my /etc/ppp/pap-secrets but I can't work out what. Do I need a line for each user I want to be able to do ppp? or is there one magic line for all users?

Also once I have authorisation going I would like to track how much data is being sent to each users. How would I do that?

0
Comment
Question by:jwd111797
[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
  • 3
  • 3
6 Comments
 

Author Comment

by:jwd111797
ID: 1586860
Edited text of question
0
 

Expert Comment

by:rooster
ID: 1586861
Are you supplying ip-numbers on one of the ends of the ppp-link? I think one of the pppd's needs to supply ip-numbers.
0
 

Author Comment

by:jwd111797
ID: 1586862
This response wasnt an answer, but a question, the answer to
which is that yes, at the moment the remote end is specifying
an IP; in any case a problem relating to specificying an ip
wouldnt be affected by whether or not my pppd is attempting
authorisation.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Expert Comment

by:rooster
ID: 1586863
What command-line do you use at the remote end?
0
 

Author Comment

by:jwd111797
ID: 1586864
The remote end is a win95 client with the ip hardwired, and
user name/password as in the /etc/password file.
0
 

Accepted Solution

by:
rooster earned 320 total points
ID: 1586865
Hmm, that should work then, like it does here. The only thing I can think of is that you are using the shadow password suite and your pppd isn't compiled with shadow passwords. Or the reverse situation.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

604 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