this post was submitted on 20 Sep 2023
1165 points (98.7% liked)

Linux

48333 readers
834 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 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 182 points 1 year ago (2 children)
  • Login as a user.
  • Delete the user while still logged in
  • Run command

You should get a message "you don't exist, go away"

Not sure if that one is still around but I know one person who ran a script with "deluser $USER" and it ate root resulting in fun messages like that

[–] [email protected] 40 points 1 year ago (1 children)

My local deluser checks if the user has any active process. I tried deleting all of the data by hand, but the process is still assigned to a user name and id.

I'm not sure if this one can error still can be replicated.

[–] [email protected] 3 points 1 year ago

Well you could manually edit /etc/password and shadow I suppose

[–] [email protected] 27 points 1 year ago (1 children)

I think I'll just take your word for it.

[–] [email protected] 8 points 1 year ago

Easy to try in a virtual machine with snapshot. Or use a filesystem snapshot