There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

nirogu , to linux
@nirogu@vivaldi.net avatar

Run command as not-root

Hi everyone

At work, I have to run a command in an AWS instance. In that particular instance only exists the root user. The command should not be executed with root privileges (it executes mpirun, which is not recommended to run as sudo or the machine might break), so I was wondering if there is a way to block or disable the sudo privileges while the command is running. As mentioned, the only user existing there is root, so I suppose "sudo -u" is not an option.

Does anyone know how to do it? Thanks in advance!

@linux

tony ,

The system is broken. Wipe it and start again. I could imagine a system with no configured root but root only is just a security nightmare and not worth using as a starting point.

I really hope that machine isn’t exposed to the internet…

In theory a root application can drop capabilities when it starts up and remain root pid, but it’s not that common… it’s used for certain system apps that require root to increase security. It is not a replacement for unprivileged users.

tony ,

I’ve still yet to see it… not even had to do any of those things. Something about my setup I guess neutralises it.

tony ,

Same here, chrome and ublock origin… did nothing special at all, never seen any of these popups.

I assume it’s a slow rollout and we’ve both been lucky.

tony , (edited )

Yeah it’s a bit shitty right now… I applied… 2k with the 7.5k grant (so the bare cost is 9.5k!). Not cost effective but… wanted to do my bit.

However, I couldn’t go ahead, it just didn’t make sense.

To get the grant all rooms must be heated, and the cost of required adaptation of my bathroom to add a radiator of the required size was somewhat eyewatering…

Heat pumps must not cool, otherwise they’re not eligible, so I’m still on the hook for AC at some point (given how hot it’s getting) which is stupid given they’re basically the same tech.

Planning rules state that heat pumps are only permitted development within a very specific set of conditions, and because of the noise they make I would have to get planning permission at my own expense (and my neighbours already complain if we talk too loud so likelihood of actually getting it very low).

And, specific to the installer I was using (Octopus)…

They wanted to install a 1mx1m water tank. That won’t fit in the airing cupboard (not even close) so they suggested the kitchen… making it difficult or impossible to open the back door…

Their heat pump (daikin) is about 2m wide. My house is only 7.5m wide, you take off 1m each side for the legal thing where heat pumps have to be 1m from the neighbours boundary, space for the door, some drainage… the only position they could suggest was the middle of the back yard…

tony ,

What I’ve read looks good but it’s going to need a track record of reliability before I’d trust it.

tony ,

I’m the same… I setup a VM but it was so much work just to setup a basic machine with ssh I gave up on it… I’m also no sure moving all the config out of /etc into a script is scaleable at all. I get that by copying the script from one machine to another you can duplicate configs… but we already have ansible for that.

tony ,

The name just reminds me of the film. So I just assume that like the film the site is nightmare fuel and avoid it.

New evidence confirms COVID-19 vaccines are overwhelmingly safe (www.theglobeandmail.com)

New evidence confirms COVID-19 vaccines are overwhelmingly safe::More than 38 million COVID-19 vaccine doses have been administered in Ontario as of Oct. 8, with 23,002 reports of adverse reactions, an incidence of 0.06 per cent, Public Health Ontario says

tony ,

My first and third vaccine knocked me out for 2 days at a time… unable to even get out of bed.

Second one, after I’d booked time off work deliberately so I wouldn’t surprise anyone by not being there, I had no issues at all…

tony ,

I use zerotier for that kind of stuff, mostly because it runs native on my router (mikrotik) and is zero config so easy to run on a random mobile device I might have on me.

Elon Musk gives X employees one year to replace your bank - ‘You won’t need a bank account... it would blow my mind if we don’t have that rolled out by the end of next year.’ (www.theverge.com)

“If it involves money. It’ll be on our platform. Money or securities or whatever. So, it’s not just like send $20 to my friend. I’m talking about, like, you won’t need a bank account.”...

tony ,

I think it’s plausible he will actually pull X out of the EU completely and concentrate on the US. Banking regulations around the world vary greatly and I can’t see him wanting to handle all that.

tony ,

It’s a thing online… Black Friday week still happens, where they try to get rid of the tat that didn’t sell to clear space for christmas shopping.

Physical stores have basically given up I think.

tony ,

I’ve never seen it despite doing nothing special beyond my normal ad blocking… it’s a partial rollout I think.

tony ,

TBH that doesn’t surprise me… I had a minor spat over the existence of a local supermarket, of all the stupid things… Wiki said it had been refused planning permission and never built. I had shopped in there many times, and could link to many articles about the fully built existing supermarket. I gave up after the second revert because it’s just not worth it.

tony ,

You’ve used Tesla voice control I see… :p

tony ,

Citroen ec3 is 20k although you’re not likely to see in the US I suspect.

tony ,

It still has the issue that joining a popular channel can bury a server for a couple of hours whilst it downloads the entire history since it was created (hillariously trying to connect to thousands of servers that no longer exist… the error log was… impressive).

The new protocol was announced on here recently but synapse is stull running the old protocol with a proxy in front and the proxy just means clients can log off whilst it’s updating, it doesn’t fix the issue.

It’s probably fine if you don’t federate it, but I could just use my IRC server for that…

tony ,

I wouldn’t want to calculate what it’d cost to replace all my switches with 25G capable ones… then all the network cards… You’d have to have a really specific application to justify it.

tony ,

I’ve yet to see a remote website that’ll send me 1gbps continuously except a speed test… and whilst it’s nice to see big numbers on those, it isn’t really justifying the cost.

Even things like microsoft and steam stuff throttle far lower than that (presumably because they don’t want a million people trying to hit them for 1gbps constantly).

Once my minimum term is up on this link I can get a 1.6Gpbs one, but probably won’t bother.

Microsoft develops ultra durable glass plates that can store several TBs of data for 10000 years (unlocked.microsoft.com)

Microsoft develops ultra durable glass plates that can store several TBs of data for 10000 years::Project Silica’s coaster-size glass plates can store unaltered data for thousands of years, creating sustainable storage for the world

tony ,

10,000 years is kinda hard to prove without a time machine, but sounds useful for long term archival storage.

Tesla warns that a federal probe into whether it exaggerated the range of its cars may lead to a ‘material adverse impact on our business’ (fortune.com)

Tesla warns that a federal probe into whether it exaggerated the range of its cars may lead to a ‘material adverse impact on our business’::Earlier this year, Reuters reported that Tesla had created a special “diversions team” to avoid dealing with complaints from customers about their vehicle ranges.

tony ,

To put some numbers on it…

docs.google.com/spreadsheets/d/…/edit#gid=8666935…

I don’t think anyone in the US tests EV like TeslaBjorn to make a spreadsheet about it, although I guess you could find out the EPA ranges of all those cars, convert km to miles, and get a reasonable one… percentages would be different as WLTP is a different test (it tends to exaggerate ranges, so will be higher, although nothing like the clusterfuck that NEDC was).

Polestar must be worried too.

Google Chrome to soon get a new ‘IP protection’ feature: Here’s what it does (indianexpress.com)

Google will soon start testing a new ‘IP protection’ feature for Chrome users, offering them greater control over their privacy. The tech giant the upcoming feature prevents websites from tracking users by hiding their IP address using proxy servers owned by Google....

tony ,

It gives google access to all the traffic statistics for users of chrome, not just those going via google. That’s valuable marketing data. They also have made sure that nobody else can get that data - they have to buy it from google as they become the sole source of it.

That’s why they want to do it… nothing to do with ‘privacy’.

tony ,

Yeah with car manufacturers the usual tactic is ‘concept’ cars of ‘the next model’ containing every single thing a consumer could wish for… which of course never get built.

tony ,

If it contains energy, there’s probably a way to make that energy release in an uncontrolled fashion. As energy densities increase, so does the risk if that happens.

Luckily batteries are built such that it’s actually quite hard to ignite them. As are fuel tanks for the same reason.

One month after experimental pig heart transplant, doctors say they see no signs of rejection or infection (www.cnn.com)

One month after experimental pig heart transplant, doctors say they see no signs of rejection or infection::One month after an experimental procedure to transplant the heart of a genetically modified pig into a patient with end-stage heart disease, doctors say the heart is functioning on its own and shows no signs of rejection.

tony ,

The last guy died after 2 months and didn’t show any signs of rejection either… I wouldn’t break out the party yet.

tony ,

It’ll happen in games first… nobody cares if ‘background NPC ’ is generated by AI, and mostly they voice a few sentences at a time.

Suddenly, voices aren’t special… Voice actors have to have something else, like movie or book fame (Audible books seem to be mostly voiced by the authors, and I can’t see that going away). But only a few % really have that… I bet there are thousands of voice actors we wouldn’t even recognise the names of.

tony ,

Wars are already simulated like crazy. AI battles will be going on right now working out if various ukraine battles are winnable, what will happen if Iran gets too riled up, etc.

Has HP printers always been this bad? (sh.itjust.works)

So my mother recently bought an ET-2800, By HP we had an HP printer before and we got a new one because the old one would not work with my sister’s Windows 11 Laptop. So I had to set it up for my mother, the manual said you can use it without the app. But there was no way to physically do that. Anyway, I downloaded the app on...

tony ,

HP haven’t always been this bad, but they are this bad now, and nobody should be giving them money.

tony ,

Get a Laser then… Inkjets dry out if not regularly used, which on the cheaper printer often means ‘throw it away and buy a new one’ because they don’t have replaceable heads. A laser will happily sit for months idle then spring into life.

tony ,

Some of the better replacement connectors have guides that you feed the cables through so you don’t get that issue.

It’s a good skill to have, making your own, but there’s no shame in going out and buying one & working out the details for next time without the pressure of ‘my internet doesn’t work’.

tony ,

I don’t get why the service centre isn’t covering it in warranty, given the car should be able to handle rain (or even driving through floodwater) just fine and many Teslas do just that, including the many currently in Scotland. Clearly there was a fault that allowed water ingress to the battery… eventually it would have failed anyway, just in normal weather.

tony ,

All the higher ups at work used to run macbooks mostly because they were built well and looked good. But they ran windows because we don’t make any software for Mac. An M1 is useless to them (our software is not compatible with parallels as the 3d support just isn’t good enough)

It’s not even that unusual based on the support queries we get… still get the occasional salesman who has ‘upgraded’ to an M1 and has to be given the bad news.

tony ,

“As we deliver more value to our members, we occasionally ask them to pay a bit more,”

But you’re not doing the first half, so you can’t do the second half…

tony ,

We had a guy at an old job who kept changing the permissions on his data to remove administrator access because he thought that would work. He wasn’t an idiot generally, he just didn’t understand how computers worked.

tony ,

It’s derived from the old shugart interfaces IIRC. But yes not IDE. I’m sure a converter is possible but USB makes more sense these days, or if you must an FDD controller card (assuming no motherboard support).

tony ,

Preroll ads never made any sense… those first few seconds are when you’re deciding whether to watch that streamer or go elsewhere. An ad makes me go elsewhere without the streamer even getting a say.

Some streamers never use ads, but I think the bigger ones are contracted to do so.

tony ,

Even sunglasses help… so I expect it would do that, but then you’d have to offset it by realizing you looked like a complete idiot.

tony ,

On the one hand I’d love a HUD which could, for example, remind me of the names of people I’d met before, or notes like ‘remember to talk to fred about his shrubbery’. Or tell me which shops I’m looking at are open, or give me directions to my destination… or random shit like the name of the plant I’m currently looking at. You can do some of this with a phone but in-vision is so much more useful IMO.

OTOH the people capable of creating such technology are meta, google… and I don’t trust them one bit.

tony ,

Then if you try to provide a modern solution, get yelled at because ‘not everyone is using the latest version’ even though the modern solution works on everything newer than about 8 years.

tony ,

That’s kind of used in apps everywhere… I can see why.

But not creating a symbolic link to ‘firefox’ when you install it, is a PITA. Apparently by design…

Revolutionizing Healthcare with MDM Healthcare Solutions: A Comprehensive Guide

In today’s rapidly evolving healthcare landscape, technology plays an indispensable role in optimizing patient care, enhancing operational efficiency, and securing sensitive medical data. Mobile Device Management (MDM) solutions have emerged as a vital tool in the healthcare sector, addressing the unique challenges and...

tony ,

Off with this chatgpt generated nonsense.

tony ,

The only one I ever found in 2 years of pihole use was cdn.cookielaw.org… a good percentage of sites won’t display with it blocked. Most other stuff is fine.

When I first installed pihole I went overboard with blocklists and broke nearly everything… don’t do that :p

tony ,

You know which site you’re getting it from…check the SSL certificate and that’s enough. If an official site got breached it’d be found out pretty quickly.

tony ,

Never seen it at all… I presume it’s only some users currently.

Some Walmart employees say customers are getting hostile at self-checkout — and they blame anti-theft tech (www.businessinsider.com)

Some Walmart employees say customers are getting hostile at self-checkout — and they blame anti-theft tech::When Walmart’s anti-theft self-checkout tech alerts an employee of a missed scan, it can cause some uncomfortable situations.

tony ,

It’s gone further here… we have shops with scanners so you scan the goods as you go around… in theory speeding up checkout but…

  1. 25% of the time you end up selected for ‘random check’ so an employee has to come and rescan everything anyway
  2. If there are any ‘restricted’ items a like painkillers, a different employee has to come over and allow them.

Given the chronic understaffing meaning you’re basically in a queue for attention, it frequently takes longer to get through the ‘rapid’ checkouts than it would if I simply queued up and got someone else to do it. But as far as the supermarket thinks they’re winning as they pay fewer people.

tony , (edited )

Or a fine of 6% of global revenue, which isn’t small.

Apple AirTags stalking led to ruin and murders, lawsuit says — Dozens join lawsuit alleging Apple AirTags are stalkers’ “weapon of choice.” (arstechnica.com)

Apple AirTags stalking led to ruin and murders, lawsuit says — Dozens join lawsuit alleging Apple AirTags are stalkers’ “weapon of choice.”::Dozens join lawsuit alleging Apple AirTags are stalkers’ “weapon of choice.”

tony ,

It’s part of Play services, so most phones will get it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines