RE:Re: FW:Etc/ppp/pap-secret

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

 



Actually using live-cd...the net once connected.then i went to kitchen forgot to disconnect.i try again showing this issue..so once connected..after that machine gives warning pap file has world/group access.   given the file world access.
Only for the first dialup to that particular IP server, as I didn't
know what it wanted to write.
Immediately after the writing to /etc/ppp/chap-secrets,
I restored the original security settingFor a detailed explanation
 http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.ht Marv, I've just looked at that email, and it's not quite the same
> problem as Samridh is having. In that email, it seems you wanted a
> normal user to be able to edit the file and dialout, whereas
> needs to block normal users (world) from that file before he can
> dialout.
>
> In fact, I'm a little surprised the steps you describe in that email
> didn't change your error to his, as you've given the file world
> access. I guess pppd wants different permissions on that file
> depending if you're a normal user or root (sudo).
>
> In your case, a better (more secure) solution would have been to
> modify the file's group and its group permissions. I.e., you probably
> have a group named 'dialout'. Your user should be in that group (check
> /etc/group; if you change it, logout and back in to effect the
> change). You could then add the file to that group:
> $ sudo chgrp dialout /etc/ppp/pap-secrets
> And make the file group writable:
> $ sudo chmod 660 /etc/ppp/pap-secrets    (or 'ug+rw' if you prefer,
> but numbers are more absolute)
> Now, any user in the dialout group can edit the file, and dial out as
> well, without having to change permissions each time.
>
>> On Fri, Jan 22, 2010 at 5:36 PM, Joshua Gordon Crawford
>> <jgcrawford@xxxxxxxxx> wrote:
>>> 2010/1/23 Samridh adhikari <9038728323@xxxxxxxxx>:
>>>>
>>>> Halo i am using knoppix live cd..dial up error warning.../etc/ppp/pap-secret has world access..conn failed


 [Mobile mail sent by Momail]
Get it at www.momail.com


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux