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

RHEL 6: View boot messages "behind" the splash screen

I know there was a way to do the above in Fedora. I cannot for the life of me remember what the key was; nor can I find documentation via a web search.
Belmin Fernandez
  • 10,799
  • 27
  • 84
  • 148
16
votes
3 answers

How to use GZip to create a .zip file

Is it possible to use GZip to create a .zip file? I've been Googling and can't find anything that leads me to believe this is possible
Ben
  • 3,800
  • 18
  • 65
  • 96
16
votes
7 answers

Mount CIFS Credentials File has Special Character

I'm having trouble mounting a share on my XenServer (5.6 FP1). From the command line I try: mount.cifs //server/share /mnt/share -o credentials=credfile The contents of credfile is: username=Administrator password=What@zR\!p3s When I run the above…
David Mathis
  • 898
  • 2
  • 9
  • 21
16
votes
6 answers

Files disappearing on linux server

I've got 4 specific files that seem to keep disappearing from a user's home directory. As far as we know, there are no cronjobs or other automated tasks that would be removing them. I've setup auditd on them but the logs aren't really showing…
Chad P
  • 1,510
  • 2
  • 14
  • 16
16
votes
2 answers

setfacl to reset file to default permissions?

I have a directory with the following default ACLs: default:user:phptutor:rwx However, none of the files/directories in that directory have that default permission (because it was added after they were created). How can I copy the default ACLs of a…
hopeseekr
  • 281
  • 1
  • 2
  • 9
16
votes
1 answer

Get drive power state without waking it up

Is there any way how to determine whether some drive is sleeping without occasionally waking it up? I have tried hdparm -C and smartctl -i but both of them actually wake it up when its already sleeping. I need to set up a script that regularly…
NumberFour
  • 419
  • 2
  • 8
  • 18
16
votes
5 answers

Why does my ssh timeout vary with network location?

When I'm ssh'ed into one of our office servers (which run Fedora 10) from home, my session times out after a fairly short period of activity (5 minutes or so). I've tried using TcpKeepAlive on the client side, to no effect. The thing I don't…
gareth_bowles
  • 9,127
  • 9
  • 34
  • 42
16
votes
4 answers

How can I create a user only for sftp?

I have added a user to the system via the adduser tool. Then, in /etc/passwd, I tried changing the /bin/bash to /sbin/nologin or to /dev/null, but neither of these worked. I would like the user not having the option to get an interactive shell, and…
Toni Rosa
  • 281
  • 1
  • 3
  • 8
16
votes
11 answers

Password Management System for multiple SysAdmins?

I'm interested in best practices and potential open source projects that would allow my organization to securely store multiple passwords and allow multiple administrators to access them. I'm interested in something that would allow each…
Aaron Brown
  • 1,697
  • 1
  • 12
  • 22
16
votes
2 answers

Determine process using a port, without sudo

I'd like to find out which process (in particular, the process id) is using a given port. The one catch is, I don't want to use sudo, nor am I logged in as root. The processes I want this to work for are run by the same user that I want to find the…
pat
  • 311
  • 1
  • 3
  • 9
16
votes
2 answers

/var/opt/ vs /var/lib

I can't decipher the deciding factor on where to place "variable program data" for an /opt installed package. On one hand the FHS says to place all variable data that dictates a program's state into /var/lib and that this data should stick around…
fthinker
  • 316
  • 1
  • 3
  • 9
16
votes
2 answers

When should I create a new user account to run software on a server?

In general, when should one create a new user account to run a piece of internet-facing software on a server? For instance, suppose I'm using a shared Debian server (e.g. via Dreamhost) and I want to run some websites using WordPress, some using…
user61015
16
votes
8 answers

Unable to get the SSH access for a new user

I created a new user on ubuntu 10 username: codeuser There is an existing user called "admin". Now, my problem is that I cannot directly connect to the server using the codeuser credentials. But, I can SSH in through "admin" and then su (change the…
Stewie
  • 577
  • 2
  • 7
  • 17
16
votes
6 answers

ARP replies contain wrong MAC address

I've got a robot running linux with wired and wireless adapters. When I boot up, it connects to the wireless fine. When I assign an IP to the wired (either statically or with DHCP), it looks like it works. As in, ifconfig shows a proper IP and…
Jayen
  • 1,857
  • 4
  • 16
  • 28
16
votes
7 answers

What are some useful utils when using Gentoo Linux?

I want to make a list of utilities that come in handy in Gentoo? What tools and commands do you use and consider helpful in administration of a Gentoo system/server?
Alakdae
  • 1,233
  • 8
  • 21