[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Archived threads in /g/ - Technology - 6403. page

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

File: tp600x-tux.jpg (12KB, 277x275px) Image search: [Google]
tp600x-tux.jpg
12KB, 277x275px
I want to execute .sh script with root permissions from web. I've added this to /etc/sudoers

www-data ALL=NOPASSWD: /usr/share/nginx/html/adduzer.sh
apache ALL=NOPASSWD: /usr/share/nginx/html/adduzer.sh
nginx ALL=NOPASSWD: /usr/share/nginx/html/adduzer.sh

But this constructions don't work anyway for root permissions. Why? Where is the problem?

Also, in php exec('whoami') gives 'apache' user as a result. But I have construction for it.

May be SElinux blocks it? How I can check\disable it?
8 posts and 3 images submitted.
>>
>>57168169
Gentoo doesn't have this problem.
>>
I have one simple sh script, which adds line to the file. If I execute it from terminal with sudo /usr/share/nginx/html/adduzer.sh I see results in /work/test.txt, but if I execute the same command from php file with shell_exec('sudo /usr/share/nginx/html/adduzer.sh'); or exec('sudo /usr/share/nginx/html/adduzer.sh'); - I have not got new line in the file.

Nginx logs are empty. How I can execute the sh script with root rights for string add?

I've also written not root user to /etc/sudoers construction, like in first message, and I've executed it succesfully like a root. So constructions should to work, but it don't for php...
What I can do here?
>>
File: 1382330525_kava-61027129.jpg (78KB, 900x805px) Image search: [Google]
1382330525_kava-61027129.jpg
78KB, 900x805px
>>57168204
I like gentoo, but have got centos vps, which works little weird, from my point of view. I think, there some SElinux... How I can block selinux or give access to this operations? Any advices?

File: 1437446786825.jpg (169KB, 720x1280px) Image search: [Google]
1437446786825.jpg
169KB, 720x1280px
Does samsung still have the best mobile camera in the market?

Or is that iPhone now?
8 posts and 1 images submitted.
>>
>>57168067

Fuck off

/thread
>>
>>57168067
>mobile camera
>best

no
>>
>>57168067
You're niggerposting again, sage

File: 1366049107494.jpg (328KB, 1632x1224px) Image search: [Google]
1366049107494.jpg
328KB, 1632x1224px
New hardware: GTX 1050 and 1050Ti to will be released on the the 25th.
Rumor: Intel's Kaby Lake Pentiums (priced below i3s) will be two core with hyperthreading (2 c / 4 t) and could arrive before the end of the year.

>Assemble your parts list with price comparisons by vendor and compatibility filter.
https://pcpartpicker.com

>Gaming builds based on purpose or display resolution / Hz
>To activate Description, select build from sidebar then click on the title over the parts list
>Description contains notes, other options, and build skeleton for easy customization / cost savings
http://pcpartpicker.com/user/pcbg/saved/

>Have a budget, but don't know where to start? This will recommend you a parts list based on price.
>Significantly outdated "Good" and "Very Good" tiers
http://www.logicalincrements.com/

>General build advice including chipset compatibility, power supply advice, Windows activation information.
http://pastebin.com/9Pbm4nHL

>Information about how to assemble a PC, how to select components, etc.
https://wiki.installgentoo.com/index.php/Build_a_PC

Post your component list, rate other anons', ask questions in general.

Always state the purpose of your PC, your budget, AND YOUR COUNTRY if outside the USA. If you are asking for improvements, clarify whether you want to lower price, or improve specs or build quality.

If you see any other build advice or part list threads, please politely direct them here.
334 posts and 50 images submitted.
>>
Old thread >>57153071
>>
how'd I do managing cables
Not that it matters I don't have a window
6600k and 1070, meme 3000mhz ram too
>>
File: image.jpg (1MB, 2448x2448px) Image search: [Google]
image.jpg
1MB, 2448x2448px
>>57168078

File: angry-pepe.jpg (7KB, 236x236px) Image search: [Google]
angry-pepe.jpg
7KB, 236x236px
>get android phone
>ready to install some apps on it
>only have enough space for 2 apps
>"that's okay, I'll just delete some of the stuff I won't need that came prepackaged on the system."
>can't delete anything
>"that's okay, I'll just put in one of my microSD cards I have lying around in the phone."
>can't install directly to SD
>have to root my phone to install more that 2 apps it seems
>get kingroot
>device not compatible
>alot of other people want to root that phone as well, research accelerates for the model
>wait 2 months
>they finally release a strategy for rooting my phone model
>try to root
>fails
>try again
>fails
>try again
>freezes my phone at 21 percent
>gave to force shut my phone off
>try again
>phone goes black with random white stripes everywhere
I JUST WANT TO BE ABLE TO INSTALL MORE THAN 2 APPS GOD FUCKING DAMNIT
10 posts and 1 images submitted.
>>
>>57168019

>buying cheapshit
>falling for the mobile jew
>trustimg poo in loo anything
>posting frogs

kill you're are self
>>
What piece of shit phone did you buy? Mine is the cheapest Android phone the store had ($5/month/2 years) and still has 16GB storage. You gotta have 8GB built-in storage at the very minimum or you're going to have a bad time.
>>
>>57168047
Samsung Galaxy Sol. It has 8GB, but theres so much bloatware it's already full.

File: NO_FILE_GIVEN (0B, 0x0pxpx)
NO_FILE_GIVEN
0B, 0x0pxpx
Which smartphone has the best Camera?

Is it the iPhone 7?
HTC 10?
S7?
What else?
35 posts and 7 images submitted.
>>
um the pixel?
they already said so
>>
>>57167928
Oh okay.
Thanks.
>>
>>57167928

>pixel
>no ois

no

File: FB_IMG_1422842829395.jpg (40KB, 518x692px) Image search: [Google]
FB_IMG_1422842829395.jpg
40KB, 518x692px
i hate that you guys dont do anything hardware

programming is easy as shit the fun part is in automation, security, and access control
especially if you know hardware backdoors
7 posts and 1 images submitted.
>>
this imageboard is utter shit when it comes to progress
>>
>>57168024
You must be new
>>
>>57168155
new to what?

File: 20161020_214131.jpg (3MB, 4032x3024px) Image search: [Google]
20161020_214131.jpg
3MB, 4032x3024px
best "user friendly", but lightweight Linux distribution for this netbook? was just gonna throw it out anyway, put mint on it but it's still a little sluggish. I know I might be asking for alot out of a shitty machine, but I'm not doing anything with it anyway and thought I'd fuck around with it a bit. thanks
10 posts and 1 images submitted.
>>
>>57167818
debian
>>
Gallium seems pretty nice, but it was designed for Chromebooks so YMMV with a netbook (I suppose).
>>
>>57167818
If you're looking for something lightweight go for Arch, the Wiki has a step-by-step installation guide and there's plenty of videos out there, don't install something heavy like Gnome, go for KDE or something
Lubuntu if you're not feeling so hardcore

File: 20161003_225941.jpg (3MB, 5312x2988px) Image search: [Google]
20161003_225941.jpg
3MB, 5312x2988px
Ask a guy who just deleted 3k lines of code by accident anything.
48 posts and 4 images submitted.
>>
Press Ctrl + Z
>>
Why no backups or source control?
>>
did you ctrl+z?

File: NO_FILE_GIVEN (0B, 0x0pxpx)
NO_FILE_GIVEN
0B, 0x0pxpx
I work in a pc repair shop and we also sell computers to customers too.

I've finally managed to convince my boss to try offering Linux computers for a small discount.

It'll only be for the budget tier computers like celerons and A4, to begin with.

What's a good distro to bundle with our computers and why? It has to be super noob friendly. I was leaning towards Ubuntu since most people will have already heard about it at least once in their lives somewhere so it might be familiar enough to buy.

Also, why aren't you going for part for bringing Linux to the desktop?
84 posts and 3 images submitted.
>>
Don't offer linux computers people who might buy them are the same people who will come back extremely angry that they can't install microsoft office
>>
>>57167723
Well we're going to offer them windows if they come back, for a fee.

Windows costs us ~90 dollars (Australia), we're going to offer the Linux pc with a $50 discount, then charge $99 for people who come back wanting us to install windows. We normally charge $130 to install windows so it'll look better to them but we'll be the real winners.

A discount for the inconvenience :')
>>
>>57167769
>make people angry then charge them double to make them less angry
Sounds like a great business model.

File: IEC60906-1.jpg (19KB, 448x192px) Image search: [Google]
IEC60906-1.jpg
19KB, 448x192px
Best plug and socket coming through.

Look at this 16A carrying, no bulk, no shock masterpiece.
41 posts and 11 images submitted.
>>
Why arent my American sockets gud? :(
>>
>>57167694
Switzerland? I know that 50% of your sockets are Schuko anyway
>>
File: m6VtdFWqE1IZBazF3xiEjRA.jpg (7KB, 225x225px) Image search: [Google]
m6VtdFWqE1IZBazF3xiEjRA.jpg
7KB, 225x225px
>>57167694
Whilst that my be true, your plug isn't American and thus your argument is null.

File: dvxadobe[1].png (5KB, 640x480px) Image search: [Google]
dvxadobe[1].png
5KB, 640x480px
Do you think we'll ever see a return to Text-based UIs as bandwidth and battery life are given more and more focus? Imagine a subnotebook with TUI OS using e-ink. I would make that my daily driver in a sec.
23 posts and 4 images submitted.
>>
``no``
>>
>daily driver
opinion discarded
>>
have you seen the average normie's typing habits?

they can barely manage to string together correct sentences in their native lanuages. there's no chance at all they can learn and then properly execute something as syntactically demanding as even a shell prompt, much less real programs

File: hacker-stock-photo-8.jpg (38KB, 400x300px) Image search: [Google]
hacker-stock-photo-8.jpg
38KB, 400x300px
Post your face when the hack was successful
29 posts and 13 images submitted.
>>
^__^
>>
>>57167548
What ski mask is that?
>>
>>57167541

0w0

File: dog search.jpg (42KB, 599x590px) Image search: [Google]
dog search.jpg
42KB, 599x590px
What's the last tech thing you did for the lulz?
34 posts and 11 images submitted.
>>
>>57167325
Made a simple script in AHK to download video from Rooster Teeth first. From there it's as simple as joinerTS and re encoding to MP4.
>>
File: 1477011508580.jpg (79KB, 599x590px) Image search: [Google]
1477011508580.jpg
79KB, 599x590px
>>57167325
>>
>>57167325
Bought a chromebook. But I actually love it now. It doesn't have any real capabilities, aside from shitposting and watching youtube videos, but it does it with a 12 hour battery life so yeah.

File: HEVC-Logo-348x196.png (38KB, 348x196px) Image search: [Google]
HEVC-Logo-348x196.png
38KB, 348x196px
What kind of magic is this shit.
I transcoded a h264 480p 43minutes long video sized at 662MB into a h265 sized at 137MB. How is this shit possible?. While I do not see any discernible loss of quality surely a lot of info is been lost.

I just cannot bring myself to delete the original video. I feel like a grandpa that refuses to use emails and instead uses fax. Anyone feel the same with h265?
12 posts and 1 images submitted.
>>
>>57167324
It's the magic of math
>>
>>57167324
It's just much better compression. h265 has had well over a decade of improvement in compression techniques to draw on since h264

You did get a little bit of quality reduction since you re-encoded an already encoded source, but it doesn't matter if you can't tell the difference.
>>
>>57167324

yeah, now take a look at your cpu/gpu usage while playing those two files.

File: 1442132825852.png (1MB, 1600x1578px) Image search: [Google]
1442132825852.png
1MB, 1600x1578px
Approved /g/ DNS?
9 posts and 3 images submitted.
>>
>>57167313
OpenNIC
>>
8.8.8.8

8.8.4.4
>>
File: botnet.jpg (24KB, 320x238px) Image search: [Google]
botnet.jpg
24KB, 320x238px
>>57167353
>Using Google for your DNS

Pages: [First page] [Previous page] [6393] [6394] [6395] [6396] [6397] [6398] [6399] [6400] [6401] [6402] [6403] [6404] [6405] [6406] [6407] [6408] [6409] [6410] [6411] [6412] [6413] [Next page] [Last page]

[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.