[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KPPP Problems



> >>> As you can see, I only modifed the 2nd "auth" line.
> >>> Did I muck it up?
> >>
> >> No, it just lets it run as root without any prompting.
> >Good, that's what I was trying for.
> >Would that have caused all the config files to get saved in
> >/root instead of the user's home directory?
> 
> Yes, your then running as uid 0.  There is effective uid vs. uid
> issues that might let you run "effective" root with the user's
> environment, I can do that on AIX but haven't tried it on Linux (kind
> of like "su -" vs. "su").
> 
> > Is there a better way to accomplish the goal of not prompting?
> 
> Possibly "sudo".  There is also a pppd parameter "privgroup" that lets
> you designate a group as "privilaged".  I've never seen that used but
> if my interpretation is correct it should solve such problems, I've
> always meant to test it,... maybe this week.

Is there no PAM solution?

What happens if I delete the kppp PAM file and make kppp SUID-root?

--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
http://www.armstrong-intl.com/
--------------------------------------------