Re: Skipping popup requesting secrets



On Wed, 2009-03-11 at 12:11 -0700, Drew Moseley wrote:
> What is the best way to have NetworkManager/nm-applet __not__ request wireless secrets?  We have a scenario where we are attempting to connect to the network and we do not have a user at the system.  In this scenario we just want to fail this particular connection without marking the connection as bad.  We want to attempt another connection with the same secrets later, ala background polling.

You use system connections instead of user connections.  System
connections are "trusted" (ie, they should be readable only by root so
secrets are not leaked) and thus the secrets are always available to
NetworkManager.  The system settings service has a "keyfile" plugin that
you can enable that knows how to read/write all NM connection types.
Most of the distro-specific plugins that scrape the distro file formats
don't yet write those back out, so you wouldn't be able to easily
update/add them via D-Bus.

Dan




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