[Top][All Lists]

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

Re: nmtui - user authorisation

From: Paul Jewell
Subject: Re: nmtui - user authorisation
Date: Tue, 28 Dec 2021 18:39:52 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0

On 27/12/2021 23:20, Leo Famulari wrote:
On Mon, Dec 27, 2021 at 10:07:17PM +0000, Paul Jewell wrote:
Solved this - nmtui needs to be run as root; my script which invoked the
program didn't consider that. Changing it to run as sudo gives me an
opportunity to enter my password, and then successfully setup the wifi
interface details.
Another option is to add nmtui to the list of programs that are setuid.
That way, any user on your system could configure wifi, which may be
more ergonomic.

This option did work as expected. The only additional point for anyone else coming across this post with the same issue: remember to add the

#:use-module (gnu system setuid)

so the setuid record is known.

Thanks Leo!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]