Jump to content
Not connected, Your IP: 18.216.32.116
Sign in to follow this  
TomTheCat

[DEPRECATED] Start client without password

Recommended Posts

I want to start the client without typing the sudo password. But if I add this line

USERNAME ALL=(ALL) NOPASSWD: /usr/bin/airvpn

to /etc/sudoers, it still requires a password.

 

Linux Mint 18 / Peppermint 7

Airvpn client 2.11.3

 

Thanks in advance

Share this post


Link to post

I found a solution 

 

Add

USERNAME ALL=(ALL) NOPASSWD: /etc/airvpn

to your /etc/sudoers. For USERNAME insert your username. Be careful, use visudo to edit it.

 

Now change your starter in the Menu from /etc/airvpn to

su-to-root -X -c /usr/bin/airvpn

Finished.

 

Now you can start airvpn without typing in you root password.

Share this post


Link to post

Hello,

 

we strongly recommend that you do not do that. You're exposing your system to enormous exploit hazard.

 

Kind regards

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...