PassingThrough

joined 6 months ago
[–] [email protected] 3 points 3 days ago* (last edited 3 days ago)

Since you mention setup instead of any manual install screwery, I’d say root(uid 0) is still very real, you just didn’t setup any login for it. Every time you sudo (substitute-user-do), you(probably uid 1000) are running that command as root instead of you. In fact, just sudo -i and you are now “logged in” as root.

Edit: Missed the context. Should still be useful info but you probably are not accidentally remoting into an account you never setup the login for.

[–] [email protected] 3 points 3 days ago* (last edited 3 days ago) (1 children)

Raspbian is sometimes a compromise between security and usability, because it is designed to go into the hands of new users. It also used to ship with a default “pi/rasberry” login hardcoded and IIRC permitted root password login over ssh. Things experience users change or turn off, but needs to start friendly for the rest, you know?

By doing this, they can take a step in the right direction by separating the root and login user, without becoming annoying asking for a password frequently as a newbie copies and pastes tutorial commands all week.

And as I said it’s unlikely, even very unlikely, but just not impossible. Everything comes with a risk, I just believe it’s up to you, not me, what risks mean in your environment. Might be you’d like to have the convenience on the home dev server, but rather have as much security as possible on a public facing one.

Or maybe you’d like to get really dialed in and only allow specific commands to be run without a password, so you can be quick and convenient about rebooting but lock down the rest. Up to you, really, that’s the power of Linux.

[–] [email protected] 3 points 6 days ago (1 children)

Thanks!

Nah, the point would be to use it as a dumb phone, but as you point out it’s still Android, a “Smart” OS compacted into a “Dumb” shell, not a purpose built dumb phone OS. My concern would be the (lack of) optimization or bloat of said OS causing poor performance that results in a bad experience navigating even the dumb functions. The tablet I mentioned for example(RCA), you could make a sandwich between basic app launches…

Either way, enjoy the experience!

[–] [email protected] 10 points 6 days ago (3 children)

What make and model of cheap “dumb” phone did you choose? And how’s it running so far?

I might one day try something similar, but my experience with cheap hasn’t been good, and if it can barely turn on like a certain cheap tablet I once had, the experiment would end quickly.

[–] [email protected] 2 points 6 days ago* (last edited 6 days ago) (1 children)

If you’ve got a VPS at your disposal, many of the homepage softwares I’ve tried over the years have some amount of caching to make them quite fast or even operate offline(“Homer” for one required me to deeply purge my cache as it would still appear when my site was offline…despite having replaced it long ago! 😂). Or, if you wanted to roll your own static HTML page, you can absolutely add a Service Worker for your own offline caching.

That’s where I’m at now. I use a custom ServiceWorker static HTML for my homepage and tab page on all my devices. This page is a bouncer, checks if I’m at home or not(or if my local dashboard is offline) and either redirects me to the local homepage which has all my HomeLab services on it, or if it fails just tells me I might be abroad or offline and lists a few public websites.

And yes, this works offline or over a shitty connection. Essentially the service worker quickly provides the cached page from the browser storage, then tries to take the time to check the live version. If it gets one, it updates the cache, if not, enjoy the offline version.

[–] [email protected] 3 points 6 days ago (3 children)

Might be a bit over the top, but I set up a custom homepage startpage, and then grabbed the New Tab Override extension so that it opens on new tabs as well as being my homepage.

So if you can think of any websites that might do what you want like cardd or link tree, or are interested in making your own little webpage and hosting it somewhere free, that might work and as a bonus will be the same across all your browsers and devices. Could even load it up on someone else’s computer if you remember the link.

[–] [email protected] 6 points 6 days ago (3 children)

In Debian, you will want to modify your /etc/sudoers file to have the NOPASSWD directive.

So where you find something like this in that file:

%sudo ALL=(ALL:ALL) ALL

Make it like this:

%sudo ALL=(ALL:ALL) NOPASSWD:ALL

In this example, powers are given to the sudo %group, yours might just say pi or something else the user fits into.

Also, please note that while this is convenient, it does mean anyone with access to your shell has a quick escalation to root privileges. Some program you run has a shell escape vulnerability and gets a shell without a password, this means they also get root without one too. Unlikely to happen, sure, but I believe one should make informed decisions.

[–] [email protected] 1 points 1 week ago (1 children)

Looking at it, seems not. Google store page says it doesn’t follow best practices and may soon no longer be supported. AFAIK it’s a single dev hobby project so this might be the end of it. Ah well. I’ll just no longer have as many free skins for games.

[–] [email protected] 11 points 1 week ago (4 children)

I only break out Chrome(or Edge) for two reasons:

One is access to serial ports to flash ESP devices, or update the firmware on my XR glasses. Firefox can’t do that.

The other is to automate Twitch drop collection. The addon I found to reload broken streams and collect drops while I’m at work only has a Chrome version.

[–] [email protected] 43 points 1 week ago (1 children)

Regarding 2, it feels to me as time wears on there are fewer and fewer online spaces in general. I fear it won’t be long before the internet is just a handful of “competing” social media companies and that one outlier group running the “Fediverse” that the propaganda says is the “Dark Web”.

[–] [email protected] 11 points 1 week ago (1 children)

Everything ends someday. It might be something we thought we’d move past with the digital age but, even digital requires resource input to keep going and that means it can and will end.

This does not surprise me at all. What were they supposed to do? Flash is dead, which broke most of the games on a site like this anyway. And kids, even young ones, go straight to Fortnite level video gaming these days, not flash sites.

It’s sad for those of us who grew up on this kind of thing, but like many other relics of the past the world moves on to something new. The Internet Archive and Flashpoint Archive will museum whatever functions without a server connection and the rest is lost to history, revered in our memories.

It’s just the nature of things. Like how a mere handful of social media websites today replace an internet once flooded with personal websites and small communities. I’m sure the next Cartoon Network sponsored game will just be a Fortnite event or Metaverse room.

[–] [email protected] 6 points 1 week ago

Not entirely a nothing burger, I think. If there’s any truth to the anti-cheat outrage, there’s a large population of average joes handing out ring 0 access to a growing number of third or fourth party companies for the purpose of kernel level anti-cheat in video games.

Still a supply chain attack or a vulnerability in one of the A/C programs, but not as impossible as we would like it to be.

42
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
 

Does anyone who’s more on the pulse of stuff than I know if I should stick with Gitea or jump to Forgejo while I can?

I understand that, for the moment at least, Forgejo should be a drop-in replacement for Gitea as they shared codebase for so long…

Anyone have experience that this is the case? What version did you make the switch on? Was it really just a binary/docker container swap on existing database or did you run into any troubles?

I’m at a crossroads where as a casual HomeLab user I don’t really care either way, but if there is a chance Gitea does something that ruins my use of it, I will regret having not switched while it was supposed to be easy. On the other hand, if Gitea remains the stronger choice and Forgejo fizzles out, I will regret leaving it behind. Help me decide? I’m on Gitea 1.21.5, the last “guaranteed” jump point now.

 

People today cannot truly grasp history and fully comprehend (possibly literally) what should be learned from it because it is for many of them, especially the new ones in school, just words on a page.

Nothing educates like experience, like how you can teach a skill from a book but to truly understand it you must practice it, probably poorly at first but better with further action.

History cannot truly be experienced by someone who was not there, whether kept apart by time or distance. We can try to bridge the gap with our spoken and written words, and today maybe a video feed, but it is not the same. Just doesn’t adhere to our fleshy brains the same way.

This also means that “true” historical fact and utter fiction are often indistinguishable. The only difference between a history book and a historical fiction is that we are encouraged by our parents who we trust implicitly, or our teachers they tell us to trust, to believe that one book be the true one over another.

Kids today cannot understand the gravity and lessons of the time before because what they have experienced first hand in their short lives is the only thing they truly know to be real. As for everything else, it would be just as easy to give them an alt-history fiction and convince them we saved our country from actual lizard men. And they would believe it with just as much vigor as any other history lesson.

This is why I think some major issues are easily glossed over by the newest generations. Their entire life experience is based in a world which is not perfect, but also not as bad or the same as the events before. And the accounts of the past just don’t hold the same gravity as their experience of world today, making those who did experience worse and are rightly afraid seem like they are exaggerating. We ask people to feel just as concerned about something they have never lived through and hopefully never will, with the same feeling as those who truly have. And it would be like asking someone to feel like they've lived through a novel or movie, because to their brain there is no difference. I feel that's why there is a struggle to connect and cooperate on these issues.

It doesn't help that history is malleable because of its apparent intangibility. There is the fear these days that misinformation, propaganda, and AI created fiction can be easily spread along today's internet, to influence the minds of people everywhere and convince them of non-truths. Politicians and leaders of nations are even at this moment pushing legislation to set the tone of history taught in schools. Should any of this succeed, one generation will know history to have one set of facts, and the next will have another set. They will both hold these facts to be as irrefutably true as any others they've learned. I feel that this is so easily possible because of how, fundamentally, the "true" and false histories are cut from the same cloth and leave the same mark on the mind.

Notice how I keep putting "true" history in quotes? It's because I ask, what is true history? Is it not said that history belongs to the victor? Propaganda, book burnings, internet/information restrictions, statues and landmarks put up and torn down... History is subjective, altered every day to suite a narrative or changing sensibilities. Different countries educate on different perspectives and opinions of the same events, and each is the world truth according to their citizens. This practice continues even into today, with wars going on and different sides with different opinions on why they are happening...and when one is victorious, one side will influence the collective record through alliances old and new, and make that the truth. Eventually. And if that side so happens to be known by the witnesses of the time to be false, then what will become future historical truth, will actually just be fiction.

Or really, all just words on the page, like all history not personally witnessed.

view more: next ›