[-] [email protected] 3 points 3 days ago

AI? Look, I helped a friend fix a new install. It wasn’t Linux fault, it was a setting in the bios that needed to be changed. But the AI had them trying all sorts of things that were unrelated, and was never going to help. Use with a grain of salt.

I have the same experience but sometimes it was even worse; Sometimes the AI would confidently recommend doing things that might lead to breakage. Personally I recommend against using AI to learn Linux. It's just not worth it and will only give new users a false impression of how things work on Linux. People are much better off reading documentation (actual documentation, not SEO slop on random websites) or asking for help in forums.

[-] [email protected] 10 points 4 days ago* (last edited 4 days ago)

It has a green lock icon with the word "Private" next to it so it's fine bro. western-journalist

[-] [email protected] 1 points 5 days ago

You don't necessarily need a specific distro. What I always do is just use the distro I'm most comfortable with and do a minimal install that just boots to a TTY. From there I just try stuff out and see what works and what doesn't. The HP 2133 will require a dedicated distro though since it's a 32-Bit Machine. Consider something like https://archlinux32.org/

Right now I have a Toshiba Satellite C850D and an HP 635 and both are running relatively up-to-date Artix. I made sure both of them have an Atheros Wireless Card since those are well supported by Linux. I use them mostly to watch videos (720p works just fine especially with VAAPI) and Firefox works fine (although it's kind of slow, but modern browsers are massively bloated tbf.). If you can you probably want to swap out all the spinning rust with SSDs.

Besides the obvious casual use, you can always turn them into file servers or maybe even a Wireless to Ethernet Network bridge.

[-] [email protected] 2 points 5 days ago* (last edited 5 days ago)

I feel you on that last paragraph. Some time ago I came across this project which seems to be worth following. I've been running a hacked together Sway+Swaysome+Swaylock+Waybar combo for the past few years that is efficient for my workflow but it looks incredibly bland and can be a PITA to maintain. I really want a self-contained wl compositor that is customizable, has style to it and maybe even comes with some cool screensavers.

6
submitted 1 month ago by [email protected] to c/[email protected]

I figured I'd share my personal Notes on this particular Topic since Documentation on this is hard to find and most of it is outdated or scattered or leaves out certain details.

Maybe someone out there can find some of this useful.

How to setup Kerberos with NFSv4 on Linux in 2025:

  • This Guide assumes that:
    • You are familiar with Kerberos, NFS, DNS, Linux and UNIX-like Operating Systems in General.
    • All of the Machines involved can talk to each other.
    • All of the Machines involved have their System Date and Time synchronized.
    • All of the Machines involved have relatively up-to-date Software.
    • You have a running Server with:
      • A working default NFS Installation with Shares that can be mounted by Clients.
      • A working Kerberos V Installation where Clients can successfully authenticate and receive Tickets.
    • You are using the MIT implementation of Kerberos V. Heimdal and others may work, but haven't been tested.

1: Server-Side

1.1: Principals

kadmin into your Kerberos Server and add a Service Principal for NFS and a Machine Principal for each one of your Clients:

addprinc -nokey nfs/<Server's Hostname>
addprinc -nokey root/<Client-1 Hostname>
addprinc -nokey root/<Client-2 Hostname>
addprinc -nokey root/<Client-3 Hostname>
... etc ...

IMPORTANT: If you're using your own DNS Server and have multiple reverse (PTR) Records configured to resolve to your NFS Server's IP Address, then you MUST also add a Service Principal for each one of those Records.
For Example, if you have the Records my-nfs-server.lan and awesome-nfs-server.lan pointing at the same IP Address you do:

addprinc -nokey nfs/my-nfs-server.lan
addprinc -nokey nfs/awesome-nfs-server.lan

The reason for this is because Kerberos may try any Domain Name that is associated with your NFS Server's IP Address.

Next, make sure to add all the newly created Service Principal(s) to the Server's keytab:

ktadd nfs/<Server's Hostname>
ktadd nfs/my-nfs-server.lan
... etc ...

Then add each of the Machine Principals to their own keytab:

ktadd -k client-1.keytab root/<Client-1 Hostname>
ktadd -k client-2.keytab root/<Client-2 Hostname>
ktadd -k client-3.keytab root/<Client-3 Hostname>
... etc ...

Now quit out of the Admin Program and copy the newly created Kerberos keytab Files to all of your Clients!

1.2: rpc.svcgssd is dead

If your NFS Server Installation is mostly unmodified then there is a good chance that it's configured to use rpc.svcgssd for GSS authentication. But the reality of the Situation is that this Daemon is dead and in fact has been removed a long time ago.

gssproxy is its replacement, however it's a separate Component that needs to be installed manually.
It should be available in your Operating System's Package Manager. If not, make sure to look through the AUR and pkgsrc.
If for some reason none of them have it, then grab the source code and compile it manually:

$ git clone https://github.com/gssapi/gssproxy
$ cd gssproxy
$ vim BUILD.txt

gssproxy should also come with a couple of config files in /etc/gssproxy.
Specifically the Files 24-nfs-server.conf and 99-network-fs-clients.conf need to be present.
If for some reason you don't have them on your System, grab them from the gssproxy Git Repository. They are in the examples directory.

If everything looks OK start gssproxy (either via a Service File or manually).
Make sure that it stays running and doesn't print any errors. It should be treated as a part of NFS and needs to start with NFS Server Daemons.

1.3: exports

Any NFS Share that you want to use with Kerberos needs to have the sec mount option set.
For Example, if you have an /etc/exports File with an Entry like this:

/export/movies                          *(rw,async,no_subtree_check,no_root_squash)

Then you need to change it to look like this to "Kerberize" it:

/export/movies                          *(rw,async,no_subtree_check,no_root_squash,sec=krb5)

NOTE: NFS offers multiple ways to use Kerberos:

  • sec=krb5 is the most basic Option uses Kerberos for Authentication only.
  • sec=krb5i uses Kerberos for Authentication and verifies Data Integrity.
  • sec=krb5p uses Kerberos for Authentication, verifies Data Integrity and encrypts traffic.

If you want to use your NFS Shares in a Network with many different Users then krb5p is highly recommended.

Don't forget to run # exportfs -arv to reload your exports!

1.4: NFS idmapd.conf

Under [General] change Domain to your Kerberos Realm and make sure that [Translation] is using the nsswitch method.
Save the changes and restart the rpc.idmapd Daemon. Verify that your Domain is set correctly by running:

# nfsidmap -d

That should print your Kerberos Realm's Domain Name.

2: Client-Side

Make sure rpc.statd is always running.
IMPORTANT: Start rpc.gssd with the GSS_USE_PROXY Environment Variable set to 1 and make sure it is also always running!
Example:

# env GSS_USE_PROXY=1 rpc.gssd -f

If you have a Service File for rpc.gssd on your System, make sure it sets that Environment Variable! Edit the Service File if you must!
If for some reason rpc.gssd crashes and complains about some rpc_pipefs being empty then you need to mount that pseudo-Filesystem manually:

# mount sunrpc /var/lib/nfs/rpc_pipefs -t rpc_pipefs -o nodev

If rpc_pipefs doesn't exist then you need to load the sunrpc Kernel Module first:

# modprobe sunrpc

At this point you should be able to mount your NFS Shares on the Client:

# mount my-nfs-server.lan:/export/movies /mnt

You may need to be a bit more specific though:

# mount -t nfs -o sec=krb5p,vers=4.2 my-nfs-server.lan:/export/movies /mnt

If no errors occurred, confirm that the Shares are mounted correctly:

$ mount
...
my-nfs-server.lan:/export/movies on /mnt type nfs4 (rw,relatime,vers=4.2,sec=krb5p,etc.)
...

If everything looks good, you need to grab a Ticket for your User via your personal Principal:

$ kinit
Password for [email protected]: 

Now your User should be able to see and access the mounted NFS Shares:

$ touch /mnt/test
$ ls -l /mnt/test
-rw-r--r-- 1 user user 0 Jan 23 07:33 /mnt/test
$ klist
Ticket cache: FILE:/tmp/krb5cc_1000
Default principal: [email protected]

Valid starting     Expires            Service principal
01/23/25 03:28:00  01/23/25 13:28:00  krbtgt/[email protected]
01/23/25 03:28:00  01/23/25 13:28:00  nfs/[email protected]

NOTE: Once your Ticket is expired your User will no longer be able to access the Shares until a new Ticket is acquired.

[-] [email protected] 21 points 3 months ago

That last comment is insane. They sound like one of those people who believe that video games are a waste of time. Meanwhile they're probably browsing the Internet all day and slurp up all the propaganda against US enemies they come across.

[-] [email protected] 18 points 4 months ago

If they release them with a fully open driver that supports standard APIs (OpenGL, OpenCL, Vulkan) and release low-level documentation then NVidia's proprietary trash will become redundant. Even better if they design them to be simple on a low-level so any programmer can just write their own driver/API/compiler. That would upset current software monopolies and the world would become a better place.

[-] [email protected] 20 points 4 months ago

RIP. It will be a miracle if they can get that domain back.

[-] [email protected] 38 points 9 months ago

Here is the linked thread for people who don't want to go to twitter:

Booker Ngesa Omole ☭:

There is no such a thing like sex work, period! Let's address the misguided communists who claim "sex work" is legitimate labor. This notion betrays the fundamental principles of Marxism and aligns with capitalist exploitation rather than challenging it.

In a patriarchal society, prostitution isn't just about humiliation—it's the highest form of exploitation, primarily affecting poor and working-class women.These women aren't "workers" in the traditional sense; they're victims of a system that commodifies their bodies.

The relationship between those who purchase sex and those who sell it is not one of equality. It's a relationship of oppression, where the powerful exert control over the powerless, perpetuating violence and exploitation.

To suggest that prostitution is anything other than the grossest form of exploitation ignores the brutal realities these women face: physical and psychological violence, poverty, and a society that views them as disposable.

Human beings should never be used as mere instruments for others' ends. The commodification of women’s bodies contradicts the Marxist principle that people should not be treated as commodities.

True communists must reject the capitalist narrative that seeks to legitimize prostitution under the guise of "sex work." Our fight is for a society where exploitation is abolished and where women are free from the shackles of patriarchy.

Anything less is a betrayal of our revolutionary ideals and a capitulation to the forces of reaction. We must stand firm against this dangerous rhetoric and fight for the liberation of all women from exploitation.

imo. people (especially comrades) should really consider using the fediverse.

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

In 2021, senior officials from the Biden Administration, including the White House, repeatedly pressured our teams for months to censor certain COVID-19 content, including humor and satire, and expressed a lot of frustration with our teams when we didn't agree. Ultimately, it was our decision whether or not to take content down, and we own our decisions, including COVID-19-related changes we made to our enforcement in the wake of this pressure. I believe the government pressure was wrong, and I regret that we were not more outspoken about it. I also think we made some choices that, with the benefit of hindsight and new information, we wouldn't make today. Like I said to our teams at the time, I feel strongly that we should not compromise our content standards due to pressure from any Administration in either direction -- and we're ready to push back if something like this happens again.

Western media variants for the libs:

https://www.reuters.com/technology/zuckerberg-says-biden-administration-pressured-meta-censor-covid-19-content-2024-08-27/

https://www.washingtonpost.com/technology/2024/08/27/meta-zuckerberg-covid-misinformation-jordan-white-house/

[-] [email protected] 20 points 10 months ago

Family told me apparently german media talked a lot of shit about the former east german commie regime the other day. Gotta "remind" the peasants every once in a while I guess.

[-] [email protected] 19 points 1 year ago

xi pointing at the screen US Imperials about to seethe

9
submitted 1 year ago by [email protected] to c/[email protected]

cross-posted from: https://lemmygrad.ml/post/4107013

Wish it was higher quality. Still an Interesting documentary from CGTN.

21
submitted 1 year ago by [email protected] to c/[email protected]

Wish it was higher quality. Still an Interesting documentary from CGTN.

[-] [email protected] 22 points 1 year ago

Debian is still the better distro overall compared to Ubuntu imo. and it's much more lightweight too. Canonical has become more and more like Microsoft in recent years.

8
submitted 2 years ago by [email protected] to c/[email protected]

Posting it here because the amount of views on this masterpiece is criminal.

8
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]

Website: https://www.openkylin.top/index-en.html

Git repositories: https://gitee.com/openkylin

I haven't tried it myself yet but I might give it a spin since it has a unique Desktop environment.

0
submitted 3 years ago by [email protected] to c/[email protected]

Pochonbo Electronic Ensemble slaps hard

view more: next ›

FuckBigTech347

0 post score
0 comment score
joined 3 years ago