Re: file location of VPN config



Thanks again for the quick reply, Lamarque.
Basically, I'm trying to get round the problem you highlighted here
https://bugs.kde.org/show_bug.cgi?id=295468.

Since there's no way of doing it through nm-applet or the plasmoid,
I'm trying to edit the connection file manually, then start it through
nmcli.

For the user to update the file in
/etc/NetworkManager/system-connections/, I have to chmod it.  That
works, but nmcli doesn't pickup the changes when it dsplays the
connection dialog.
After a network-manager restart, the connection disappears.

It seems this happens when the file permissions change.

Is there a better method of changing the 'Xauth username' through a script?

Cheers

Mike


On 28 July 2012 03:25, Lamarque V. Souza <lamarque kde org> wrote:
> Em Friday 27 July 2012, Michael Irons escreveu:
>
>> Can anyone tell me where network manager stores the username, for
>
>> saved VPN/vpnc connections?
>
>>
>
>> ~/.kde/share/apps/networkmanagement/secrets/ - contains a guid file
>
>> with the group password and user password, but I need to be able to
>
>> amend the stored username from a script.
>
>
>
> The username is stored in /etc/NetworkManager/system-connections/<connection
> name>
>
>
>
> OBS: ~/.kde/share/apps/networkmanagement/secrets/ is used only when you set
> Plasma NM to store secrets in plain text, which is not the default
> configuration.
>
>
>
> --
>
> Lamarque V. Souza
>
> KDE's Network Management maintainer
>
> http://planetkde.org/pt-br


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