LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 08-28-2013, 02:44 AM   #16
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]X{.0|.1|.2|-current} ::X>=12<=14, FreeBSD_10{.0|.1}
Posts: 2,165

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848

Ok, ... thinking cap on... tick, tick, tick...

I have assumed this was on Slackware, is that correct?

How did you install it (i.e., slackbuild, from RPM or deb, etc.)?
 
Old 08-28-2013, 02:48 AM   #17
hegira
Member
 
Registered: Aug 2013
Posts: 59

Original Poster
Rep: Reputation: 0
Yes. Slackware64-14. Used deb2tgz on astrill-setup-linux64.deb to make a tgz, then makepkg /tmp/astrill-setup-linux64.tgz then pkgtool.
 
Old 08-28-2013, 03:02 AM   #18
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]X{.0|.1|.2|-current} ::X>=12<=14, FreeBSD_10{.0|.1}
Posts: 2,165

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Ok, let's see if it is writing anything to the syslog or stderr.

As normal user in terminal start it up (by the way, what is the executable file that you start with?).

Then either root or sudo...

Code:
tail /var/log/syslog
Then again let's redirect stderr to the shell...

Code:
path/to/executable 2>&1
If either of those says anything interesting post it back here.

And one other thought - I wonder if it writes a config file to the user home directory? If so (see if there is one in /root/) but not in the regular user, create one empty in the regular user home and make it 777 permissions.
 
1 members found this post helpful.
Old 08-28-2013, 03:28 AM   #19
hegira
Member
 
Registered: Aug 2013
Posts: 59

Original Poster
Rep: Reputation: 0
Now it's saying my user is not is sudoers file. But it wasn't saying that before. I tried agian to do

Quote:
adduser <username> wheel
and it said the user is already in wheel. I checked /etc/sudoers agian to make sure the %wheel... line is uncommented and it is. Why is this suddenly happening?
 
Old 08-28-2013, 03:28 AM   #20
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]X{.0|.1|.2|-current} ::X>=12<=14, FreeBSD_10{.0|.1}
Posts: 2,165

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
@hegira: I will need to shut down here shortly, so wanted to add some final thoughts...

I have been googling this all evening, unfortunately most of what I find are your own question posts.

ruario made a comment in one thread about the.deb being a crappy package. Not sure what he saw that he didn't like and I have not opened it myself, but that might bear more looking.

On Slackware the /tmp directory should be 777, but verify that just in case...

I do not see any indication that it uses java, but just in case it does check your root and user $CLASSPATH to be sure they are the same (although as I say, I don't think it makes any use of java).

Another thing is the possibility that it makes use of something found in /usr/sbin/, so that it is only on root's path.

Assuming that your user has sudo rights, you might try this:

Code:
export PATH=$PATH:/usr/sbin:/sbin

sudo path/to/Astrill
If that works you might try it without the sudo - if that works just add /sbin to the user path.

Finally, just to be complete on the permissions, can you post the output of:

Code:
tree aifFp /usr/local/Astrill

and 

cat /var/log/packages/Astrill*
 
1 members found this post helpful.
Old 08-28-2013, 03:35 AM   #21
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]X{.0|.1|.2|-current} ::X>=12<=14, FreeBSD_10{.0|.1}
Posts: 2,165

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Originally Posted by hegira View Post
Now it's saying my user is not is sudoers file. But it wasn't saying that before. I tried agian to do



and it said the user is already in wheel. I checked /etc/sudoers agian to make sure the %wheel... line is uncommented and it is. Why is this suddenly happening?
I can't tell you whay that is suddenly happening, but it is a clue! That sounds as if it is in fact trying to use the wheel group permissions.

Im ust sign off now - sorry. But I think we are on the right track. I would be curious to know if the /sbin path affects it. Since it is a network app it might try to directly access the routing table or network devices using an /sbin application. Since it is a .deb it might assume things about the wheel group that are not true for Slackware. So I think getting the right group and or PATH is the key.

I'll check in early tomorrow - good luck! Thanks for your patience!
 
1 members found this post helpful.
Old 08-28-2013, 07:57 AM   #22
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963
Run the following once (and only once) as root:

Code:
/usr/local/Astrill/asproxy --init
You will now be able to run Astrill as a regular user. I got this from the deb postinst.

Edit: Actually, don't run 'asproxy --init' as it is retarded. I just ran an strace on it and have seen what it does.

1. It sets up various symlinks to liblsp.so and liblsp64.so in locations where Debian/Ubuntu would expect to find libs (which does not make sense on Slackware).
2. It sets the 'asproxy' setuid root (this is what allows the regular user to run the program)
3. It adds a broken (on Slackware at least) path in /etc/ld.so.preload (I presume this preload is needed by Astrill so that it can intercept all network connections to ensure they go through the Astrill VPN).

Instead of 'asproxy --init' which partially breaks a Slackware system you can either setuid 'asproxy' to root and manually add the correct file to /etc/ld.so.preload or instead see my reply to you in your other post.

Last edited by ruario; 08-28-2013 at 03:18 PM.
 
2 members found this post helpful.
Old 08-28-2013, 03:04 PM   #23
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]X{.0|.1|.2|-current} ::X>=12<=14, FreeBSD_10{.0|.1}
Posts: 2,165

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Take ruario's advice from the above post, hopefully that will get it going.

I also intended to ask you to post the README from the top directory, and maybe the output of path/to/Astrill --help.
 
1 members found this post helpful.
Old 08-28-2013, 03:27 PM   #24
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963
Quote:
Originally Posted by astrogeek View Post
I also intended to ask you to post the README from the top directory, and maybe the output of path/to/Astrill --help.
Usually a good idea but in this case it doesn't help as 'astrill --help' returns nothing (it just starts the program) and the README.TXT is not particularly useful:

Code:
Astrill protects online identity by changing your IP address, anonymizes web surfing and bypasses firewalls. 

Astrill intercepts and redirects web traffic through encrypted data link with Astrill VPN servers thus all the information you access via browser is protected from eavesdropping.

Astrill supports Internet Explorer, Firefox, Opera, Safari, Google Chrome, Maxton and just about any other application which uses web protocols.

For more information, please visit our web site https://www.astrill.com.
You can get the packages from https://www.astrill.com/download.php but you will not be able to properly use it without an account. I don't have one myself. I had never heard of Astrill before yesterday when the OP mentioned them in another thread. I just downloaded the packages to have a look and try to help out.

P.S. Having looked at the rpm, deb and sh packages Astrill provide I see that they are all broken in multiple ways. I don't therefore have a great feeling about this company and would probably not use them myself.
 
2 members found this post helpful.
Old 08-28-2013, 03:53 PM   #25
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]X{.0|.1|.2|-current} ::X>=12<=14, FreeBSD_10{.0|.1}
Posts: 2,165

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Thanks for the additional input ruario1!

I'll try to grab the package sometime later today and have a look inside myself, although I doubt I'll see anything that you did not, and probably won't understand many things that you did see.
 
1 members found this post helpful.
Old 08-28-2013, 04:12 PM   #26
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963
Quote:
Originally Posted by ruario View Post
3. It adds a broken (on Slackware at least) path in /etc/ld.so.preload (I presume this preload is needed by Astrill so that it can intercept all network connections to ensure they go through the Astrill VPN).
It seems the entry Astrill adds is broken on other distros as well. Hmm .. I don't have a great feeling about this software!

EDIT: Also problems with Astrill on Debian.

Last edited by ruario; 08-28-2013 at 04:38 PM.
 
1 members found this post helpful.
Old 08-28-2013, 04:51 PM   #27
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963
It seems you do not have to use the client that Astrill provides, they have setup instructions on how to use their VPN service with OpenVPN, PPTP or IPSec, using various clients.
 
1 members found this post helpful.
  


Reply


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
[SOLVED] NetworkManager isn't behaving properly in normal user, but works well in root user. MarkZar Linux - Networking 1 02-17-2013 12:32 AM
RPM search as user fails and works with root user kais1 Linux - Newbie 7 09-02-2012 07:22 PM
[SOLVED] DBD::ODBC works as root but not as non-root user on CentOS5 - any ideas? prgupta Red Hat 2 07-13-2010 01:20 AM
[SOLVED] no sound as non-root user on slackware64 wubai Slackware 10 12-30-2009 06:26 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 05:14 PM


All times are GMT -5. The time now is 07:35 PM.

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