Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-05-2014, 03:08 PM   #1
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 264

Rep: Reputation: 5
Cant save password authorization


Im using a vpn through network manager and I want to start it on startup of KDE. I already have a plan of using a bash script and using:
nmcli con up id (name of connection)
This works.

The problem is that even though I click on save authorization, it asks me for my root password every time I try to start the VPN. I understand that this can be very useful for security reasons, but this is a home system and I am really not concerned with that.

Is there a way I can stop the check for authorization for network manager?

I do not want authorization for everything to stop. I still want the root password security to continue for other things on the system.

Thanks in advance.
Old 06-06-2014, 10:22 PM   #2
Registered: Aug 2012
Location: USA
Distribution: Slackware64-14.2
Posts: 86

Rep: Reputation: 23
Hello Adol, there is indeed a way to allow a user to run a command with root privileges without a password by editing your sudoers file. First, run in a shell as root:
# visudo
This will allow you to edit the sudoers file using vi. If you wanted to run nmcli as root, and if your user name is adol, and if nmcli is located in /usr/bin, you would add a line like this to the sudoers file:
adol ALL=(ALL) NOPASSWD:/usr/bin/nmcli
Hopefully that would fix it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
www-data password / authorization (newb) helsing Linux - Server 8 05-29-2015 10:48 AM
Unable to gain authorization for (KDE 4.6.3) robertjinx Slackware 3 05-19-2011 04:03 PM
ssmtp: Authorization failed (535 5.7.0 Incorrect username or password {mp049}) hhanff Linux - Software 2 10-20-2008 04:02 AM
when i excute su and password im gettin an authorization error adamf4i Linux - Newbie 12 08-07-2006 10:52 AM
getting a password to save tracie Linux - Software 1 12-30-2004 12:11 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration