Questions tagged [linux]

Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

GNU/Linux is a UNIX-like Open Source operating system. Linus Torvalds originally wrote the Linux kernel with contributions from others on the MINIX usenet board. Since then, Linux had thousands of developers, both paid by companies and volunteers. The main system tools and libraries for GNU/Linux are sourced from the GNU Project, hence the nomenclature GNU/Linux (GNU Toolchain over Linux Kernel). The Linux kernel is licensed under the GPL v2 license.

There are many different Linux Distributions (sometimes shortened to distro), which consist of software applications packaged and provided with the Linux kernel, being Slackware the oldest active distro and Debian, Red Hat and CentOS among the most used on Internet servers¹.

The Linux kernel is commonly run on servers but is highly portable and is used in a variety of applications, from wireless routers and cell phones to clusters and super computers with thousands of nodes and processors.

External Resources:

38271 questions
16
votes
5 answers

How find user with empty password in Linux?

How find user with empty password in Linux?
met78
  • 293
  • 1
  • 2
  • 7
16
votes
4 answers

Is it possible to skip .rvmrc confirmation?

We are using RVM for managing Ruby installations and environments. Usually we are using this .rvmrc script: #!/bin/bash if [ ! -e '.version' ]; then VERSION=`pwd | sed 's/[a-z/-]//g'` echo $VERSION > .version rvm gemset create…
16
votes
1 answer

What does `pcie_aspm` do?

Where is this kernel flag (pcie_aspm) documented? I'm sure it does something, and I just turned it off to get wired Ethernet driver (e1000e) working.
Evan Carroll
  • 2,373
  • 10
  • 34
  • 53
16
votes
4 answers

Logrotate Successful, original file goes back to original size

Has anyone had any issues with logrotate before that causes a log file to get rotated and then go back to the same size it originally was? Here's my findings: Logrotate Script: /var/log/mylogfile.log { rotate 7 daily compress …
drewrockshard
  • 1,763
  • 4
  • 20
  • 27
16
votes
4 answers

Tuning NFS for minimum latency

How can I achieve low latency for NFS exports in order to e.g. have developers work nicely in Eclipse/Visual Studio with their workspaces mounted over NFS?
Robert Munteanu
  • 1,644
  • 5
  • 23
  • 41
16
votes
5 answers

Locate and updatedb doesn't work. What should I do?

My locate command doesn't work, but I found out I had to run updatedb. However, upon invoking that command, bash says bash: updatedb: command not found. What should I do?
Strawberry
  • 1,132
  • 4
  • 15
  • 27
16
votes
1 answer

What does Upstream and Downstream mean?

With Redhat and CentOS (especially bugs and patches) I often see the terminology upstream and downstream. What do these terms mean in this context? Example: Red Hat would like to thank the X.Org security team for reporting this issue. Upstream…
Joshua Enfield
  • 3,454
  • 8
  • 42
  • 59
16
votes
6 answers

How do I list IP addresses blocked by iptables?

To prevent brute force attacks against ssh I've added some iptables rules (below). The question is: How can I list the blocked IP addresses? (1) iptables -A INPUT -i eth0 -p tcp --dport 22 -m state --state NEW -m recent --set --name SSH iptables -A…
milton
16
votes
4 answers

A secure, standard iptables rule-set for a basic HTTP(s) webserver

I have been trying to put together a basic server iptables script that will work for most sites just running a basic webserver using HTTP(S) and SSH (ports 80, 443, & 22). After all, most VPS only need these starting ports rules and can add mail or…
Xeoncross
  • 4,449
  • 12
  • 43
  • 56
16
votes
16 answers

How do I kill processes older than "t"?

First, yes I have seen this question: Find (and kill) old processes The answers there are incorrect and do not work. I have voted and commented accordingly. The processes I want to kill look like this when listed with ps aux | grep page.py: apache …
hobodave
  • 2,840
  • 2
  • 24
  • 34
16
votes
8 answers

'Permission denied' to a file I own?

My user, bob, can't access files that he (theoretically owns). I'm running Fedora Core 8. It probably easier to shown than tell: > ls -al . total 32 drwxrwxr-x 7 bob bob 4096 May 18 14:33 . drwxrwxr-x 4 bob bob 4096 May 12 15:44 .. drwxr-xr-x 2 bob…
Gordon Wilson
  • 263
  • 1
  • 3
  • 6
16
votes
1 answer

How do I assign an SELinux label to a symlink with semanage so it persists after a relabel?

My apache DocumentRoot /var/www is a symbolic link to another path. The target has the appropriate file context label (httpd_sys_content_t) so that apache can read it with SELinux enabled. However, the symbolic link itself is labeled with…
Steven T. Snyder
  • 1,113
  • 2
  • 10
  • 19
16
votes
4 answers

How to change Linux services startup/boot order?

As the question is clear from the title, how do I change Linux services startup/boot order?
Gnanam
  • 1,459
  • 13
  • 26
  • 32
16
votes
10 answers

What a Linux administrator must know by head?

I am not system administrator, but I have nice knowledge of Linux, Unix, Windows and hardware. What are the most needed topics that a Linux Administrator has to know by heart (at the point of being able to fix, setup, work it out without having to…
Prix
  • 4,881
  • 3
  • 24
  • 25
16
votes
9 answers

Kinit Won't Connect to a Domain Server : Realm not local to KDC while getting initial credentials

I am setting up a testbed environment where Linux (Ubuntu 10.04) clients will authenticate to a Windows Server 2008 R2 Domain Server. I am following the official Ubuntu guide to set up a Kerberos client here:…
Phanto
  • 891
  • 5
  • 16
  • 24