Jump to content
TorGuard
  • 0
SpectrumDT

How to run TorGuard with root privileges on startup/login? (Ubuntu)

Rate this question

Question

SpectrumDT
Hi! 

 

I am running Ubuntu (Kubuntu 14.04). I would like TorGuard to start automatically on login. I have a Bash script that runs on login and starts various things, so I put a command in there to start TorGuard. 

 

The problem is that TorGuard pops up and asks for my root password. I would like TorGuard to start silently without my having to input root password. What is a nice way to do this?

 

Thanks in advance! :) 

 

Best regards

Spectrum

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
Support

Hello,

 

You could try using Sudo but in the following way to prevent the prompt for the password:

 

echo 'password' | sudo -S command

 

This will leave your password within the bash history though, just so you know but its the only way i can see that will work.

 

Regards

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×