360
submitted 2 days ago by yogthos@lemmy.ml to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] NewNewAugustEast@lemmy.zip 12 points 1 day ago* (last edited 1 day ago)

You want the user to put their age somewhere?

Have a simple script that asks for a number and echos it into a file called "age". Done.

And they can only run the script if they want to.

[-] drath@lemmy.world 3 points 10 hours ago* (last edited 10 hours ago)
$ cat /home/$USER/isUserUnderage.txt
no
$ ll /home/$USER/isUserUnderage.txt
-rw-r--r-- 1 root root

Done. Now please let me through, mr. Caflifornia Immigration Officer

[-] PseudoSpock@lemmy.dbzer0.com 1 points 3 hours ago

That would still be complying. Not okay.

this post was submitted on 21 Mar 2026
360 points (82.1% liked)

Linux

63789 readers
754 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS