u/beermad
In this archive from Aug 2015 to Jan 2025
- 55
- posts
- 579
- comments
- 8
- media
- 2k
- score
Top posts
Is there a way to run a systemd job at a "non clock" time?
This obviously needs more explanation. What I'm trying to do is schedule a job to trigger at sunrise every day. So obviously the precise time it triggers will differ every day and will also change by an hour when summer time begins or ends. Obviously I could achieve this by running a timer at, say 0...
Is there a way to preserve quotes from an "ls" listing through a pipe or redirect?
If I run ls on a directory where there are spaces in the filenames, the output wraps the names in quotes. But if I then run that list through a pipe (say, into more) or redirect the output to a file, the quotes are stripped. I'm sure there are some good search terms to find the answer, but they've e...
Can a systemd unit "know" about a system shutdown?
I have a unit which mounts a remote FUSE filesystem. Running the "proper" shutdown takes 15-30 seconds, which delays a system shutdown (until systemd kills it anyway). Ideally, when I do a shutdown, I could simply unmount the filesystem rather than cleanly shutting down the process, which would avoi...
How would you photograph this scene?
Walking home from the pub tonight, I saw what could have been a superb composition. The full Moon with a halo from high cloud, with Jupiter about 5 degrees away. And a contrail back-lit by the Moon, bisecting them. And I have no idea how, if I'd had my camera, I could have photographed that scene. A...
I can only say that my systemd system boots in a fraction of the time it used to take with the old init system.
Though as I typically only reboot when I've had a Manjaro system upgrade, it's not something which is as important to me as it used to be. In the old days when I had to boot it every day with init, I'd power it up when I got up in the morning so it would be ready once I'd got dressed. I wouldn't need to do that now.
Why can't you back them up? Taking a backup is one of the most fundamental (and vital) aspects of running a computer.
Press the screen's power button?
As long as you use a Windows-type partition, such as NTFS, I doubt there's a Linux system that won't be able to use it. On the other hand, Windows won't be able to use Linux filesystems, such as EXTn.
Bear in mind that Windows filesystems are a lot less flexible than Linux ones, for example, if I'm not mistaken they don't support mixed-case filenames, so file1.jpeg and File1.jpeg will be the same file. And obviously Linux filesystem-wide backup utilities may not work as well on Windows filesystems (for example, "dump" only works on EXTn).
While that may be true on the desktop, Linux computers constitute a huge proportion of the servers running websites, so they make for a tempting target for crackers since there's a lot to be gained by getting the sort of information people put into websites (credit cards, personal details, etc).
Although I'm not as up-to-date as I was before I retired from my career in IT, I certainly recall that the vast majority of successful cracks of webservers when I was working were those targeting IIS rather than Apache. So the less ubiquitous target was the one most likely to be compromised.
This says to me that the *nix security model is probably inherently more secure than that of Windows. And that will almost certainly be the case on the desktop as well as in the server world.