tony

@tony@lemmy.hoyle.me.uk

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

tony,

Used it once… it’s as annoying as shit since you can’t just run apps you have to type ‘flatpack run org.mozilla.firefox’ instead of just typing ‘firefox’ (and I had to google that because I just can’t remember the sequence). Also for some reason it’s slow… as you mentioned a 1 second delay before anything works. I can’t see myself using it again.

tony,

So now you have to do that every time you install a flatpak.

Or just stick to a normal package manager, that does all that for you.

tony,

Or actually do anything useful? No network, no filesystem… it’s a hello world app isn’t it…

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, (edited )

Holy shit… 1Tb drives too…

If only I had a use for them :/

tony,

Raid 0 on 3x500GB triples your failure rate (especially important on older drives, as I presume these are), and still won’t get anywhere near an SSD in speed.

You could just mount the 3 drives separately and have storage that way, which means if one fails you’ve still got the data on the other two… it’d still suck but not as bad as losing everything.

If it was me I’d wait until I could afford the SSD… it’ll be many times faster and newer.

Am I going off the deep end by considering Fedora Silverblue or Kinoite?

I recently switched my server over to running Plex and Home Assistant in Docker. I like the ease of transfer (just move my compose file and one directory where I have stored all the configs and I’m set) as well as the simple permissions management to give access to directories....

tony,

If it’s fun, it’s not overkill!

You also have experience you can use in the workplace (even if it’s mostly experience of what happens if you f**k things up).

tony,

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

tony,

It looks to me like they were counting some windows variant as ‘Other’ for a time.

Any way to add an "It's now safe to turn off your computer" message at the end of shutdown?

I want to do this for my raspberry pis since they don’t have an ACPI system in place. I think it would look really nice combined with XFCE and the chicago95 theme. So I would prefer it if it were showing it like the windows 95 shutdown screen, maybe using an image file? There’s a lot of information on the shutdown process on...

tony,

Just before shutdown you’re at the terminal so something like this github.com/stolk/imcat on the image at the end of shutdown script might work.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #