LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-19-2015, 06:38 PM   #1
WhiteHatGuy
LQ Newbie
 
Registered: Mar 2013
Posts: 3

Rep: Reputation: Disabled
Question Alpine Linux and grsecurity


I didnt know where to post it, feel free to move it.

I am using Alpine linux distro and trying to run the tor browser bundle

http://alpinelinux.org/
https://www.torproject.org/

Thing is, I have to execute start-tor-browser script, so in terminal I put command:

/home/alex/tor-browser_en-US/Browser/start-tor-browser

Nothing happens, the browser wont start cause Alpine Linux is using Trusted path execution, grsec.

Now if I put command, and enter my password:

sudo /home/alex/tor-browser_en-US/Browser/start-tor-browser

The browser starts without problem but the script is not suppose to be run as root or with root privileges, I think that running it with sudo is not secure at all and is not recommended.

The same goes for this other browser, I have to execute flashpeak-slimjet script

http://www.slimjet.com/en/dlpage.php

Is there anyway I can run the scripts without using sudo?
Or do I have to disable trusted path execution option in the kernel? If yes, how can I do that?
Or is imposible to run this 2 browsers in Alpine Linux distro?
 
Old 08-20-2015, 11:40 PM   #2
slimm609
Member
 
Registered: May 2007
Location: Chas, SC
Distribution: slackware, gentoo, fedora, LFS, sidewinder G2, solaris, FreeBSD, RHEL, SUSE, Backtrack
Posts: 430

Rep: Reputation: 67
you can try doing

sysctl -w kernel.grsecurity.tpe=0

if that doesn't return an error then try starting the browser regularly. That should turn off TPE.

if you want to disable TPE all the time add

kernel.grsecurity.tpe = 0 to /etc/sysctl.conf
 
  


Reply



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
Updated Alpine Linux repository omitchell Linux - Newbie 0 03-08-2012 09:16 AM
[SOLVED] Disable IPv6 in Alpine Linux omitchell Linux - Networking 2 01-30-2012 08:57 AM
Alpine Linux, How Can I Boot from Root? Novatian Linux - Software 2 03-30-2011 06:16 AM
securing linux deskop --> grsecurity? deadlinx Linux - Security 2 03-27-2007 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:41 AM.

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
Open Source Consulting | Domain Registration