[tuto][security][browser] Here's how to properly operate the sandbox in chromium (and chromium based too)!

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
User avatar
K-mik@Z
Posts: 17
Joined: Sat May 19, 2018 10:08 am

Re: Here's how to properly operate the sandbox in chromium!

#11 Post by K-mik@Z »

Buck Fankers wrote: Sat Dec 07, 2019 9:37 am Thanks for sharing, I wouldn't have a clue where to look for it!
Just for fun:

Code: Select all

grep -H 'kernel.yama.ptrace_scope' /etc/sysctl.{c*,d/*}
return:
/etc/sysctl.d/10-securized-yama-scope.conf:kernel.yama.ptrace_scope = 1

( CompleteFilePath + : + Parameter=Value )

then:

Code: Select all

grep -H 'kernel.unprivileged_userns_clone' /etc/sysctl.{c*,d/*}
can give you the config file (/etc/sysctl.conf or one of /etc/sysctl.d/*.conf) and the parameters (if exist)
My tutorials
Sorry by advance for my english, I'm french.
Image "They didn't know it was impossible, so they did it." - Mark Twain

User avatar
K-mik@Z
Posts: 17
Joined: Sat May 19, 2018 10:08 am

Re: Here's how to properly operate the sandbox in chromium (and chromium based too)!

#12 Post by K-mik@Z »

Buck Fankers wrote: Sat Dec 07, 2019 9:37 am Thanks for sharing, I wouldn't have a clue where to look for it!


Just for fun:
...


oops, double post, bad handling, sorry
My tutorials
Sorry by advance for my english, I'm french.
Image "They didn't know it was impossible, so they did it." - Mark Twain

User avatar
Buck Fankers
Posts: 767
Joined: Sat Mar 10, 2018 8:06 pm

Re: Here's how to properly operate the sandbox in chromium!

#13 Post by Buck Fankers »

K-mik@Z wrote: Sat Dec 07, 2019 5:01 pm

Code: Select all

grep -H 'kernel.unprivileged_userns_clone' /etc/sysctl.{c*,d/*}
can give you the config file (/etc/sysctl.conf or one of /etc/sysctl.d/*.conf) and the parameters (if exist)
Nice!

I'm planing for a while to learn some basic bash/grep commands and your example nicely demonstrates it's power. Oh, and syntax is simple also, even for me! Also reinforces the thought I shouldn't delay with this to-do task much longer :wink:
Thank you!

Post Reply

Return to “Tips & Tricks by users”