Jump to content


Photo

[DEPRECATED] Start client without password

client password

  • Please log in to reply
4 replies to this topic

#1 TomTheCat

TomTheCat

    Member

  • Members
  • PipPip
  • 15 posts

Posted 28 September 2016 - 05:32 AM

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



#2 TomTheCat

TomTheCat

    Member

  • Members
  • PipPip
  • 15 posts

Posted 29 September 2016 - 05:29 AM

I found a solution  :good:

 

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.



#3 Staff

Staff

    Advanced Member

  • Staff
  • PipPipPip
  • 7023 posts

Posted 29 September 2016 - 09:15 AM

Hello,

 

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

 

Kind regards



#4 TomTheCat

TomTheCat

    Member

  • Members
  • PipPip
  • 15 posts

Posted 29 September 2016 - 02:35 PM

Thanks for the info.

 

Is there a different way to do it?



#5 zhang888

zhang888

    Donald Trump of IT/Security

  • Moderators
  • 2146 posts

Posted 29 September 2016 - 03:48 PM

Not a safe one. Why don't you just keep the client minimized?

Reboots are more rare these days, most people keep the systems 24/7.


Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees.






Similar Topics Collapse


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Servers online. Online Sessions: 14601 - BW: 49916 Mbit/sYour IP: 23.22.240.119Guest Access.