Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

1
vote
0answers
588 views

Can I change a ubuntu partition from sdb to sda?

I have just gotten into Ubuntu and I'm not quite familiar with partitions etc. But I have Ubuntu installed on /dev/sdb. But I want to move it to /dev/sda. Current partition listing below. Can I just ...
0
votes
0answers
81 views

Xen PV machine fails to connect to console

I recently installed a PV virtual machine under xen 4.4. I'm using XL toolstack. below is the configuration file of the PV machine. kernel = "/var/lib/xen/images/ubuntu-netboot/vmlinuz" ramdisk = ...
0
votes
1answer
24 views

Is a Logging Facility similar to types of Windows Logs?

I'm learning about Linux (Debian/CentOS) for my Jr. System Administrator position. In my current module, it's going over Logging, and Logging facilities to be exact. I'm trying to get a grasp on what ...
0
votes
0answers
126 views

Win7 Linux Dualboot tocblock error

Im trying to dual boot win7 and Mageia, but keep running into the following errors: -ldm_parse_tocblock(): Cannot find TOCBLOCK, database may be corrupt. -I've tried different media: bootable USB's ...
0
votes
0answers
31 views

disable direct access to git repo

I have set up a local git repo on a linux machine and have users check in and check out from it: /myfolder/gitrepo/ How can I disable any modification access to that folder directly unless they ...
0
votes
1answer
1k views

how to enable java in Browser on Centos 6.5

i already install Java (jdk 6u45 and jre 6u45) in a Centos 6.5 Server, but i don't know why in my browser appears to enable java plugin, these are steps to install java in my machine: rpm -ivh ...
1
vote
2answers
666 views

If, else based on command piped to grep

I can't figure out how to make this (what supposed to be simple) script to work. Basically what I want, to run different stuff based on the state of my Parallels vm, something like this: if [ prlctl ...
2
votes
2answers
63 views

How do I disable the mouse wheel backlight on a Posturite keyboard?

I recently began using a Posturite Number Slide Arch Keyboard (Model EZ-2018) on my Linux workstation. It came with few instructions; none of them dealt with keyboard function, but rather with ...
2
votes
0answers
119 views

X11 evdev mouse generates duplicate events

Lately my x11 server started registering several duplicate mouse click events per single click. I've tried upgrading xorg server and drivers, but it didn't help. Using different mouse doesn't help as ...
0
votes
0answers
121 views

Ethernet port on Linux machine not recognizing ethernet connection with embedded device

I have an atmel at91sam7x256 microcontroller that I would like to use for a TCP/IP communication. The very first step of my project is to be able to "ping" my board given its IP address. I have its IP ...
0
votes
1answer
248 views

Restrict user to given directory

I wish to allow Bob to only access files in directory /var/www/main/open via sftp. I've edited /etc/ssh/sshd_config, and changed Subsystem sftp /usr/libexec/openssh/sftp-server to Subsystem sftp ...
3
votes
1answer
169 views

Why does my .bashrc get read when I run noninteractive commands over ssh

I've prepended each of my bash config files (~/.bashrc,~/.bash_profile,~/.profile) with echo NAME_OF_FILE, i.e. I get '.bashrc' when I source in ~/.bashrc. What baffles me is why I get and ...
3
votes
1answer
1k views

Ubuntu localhost: Not found

I have updated my Ubuntu 13.10 to 14.04, so I have a newer version now. But I spotted that after the update I experience a 404 error while trying to access my http://localhost/ After a complete ...
1
vote
3answers
57 views

Execute script when process reaches 6 hours of lifetime

I wonder if it's possible to execute a perl script when a process with a given PID file reaches a total of 6 hours of lifetime? Can this be done through crontab or similar? The perl script I want to ...
0
votes
2answers
631 views

Delete empty column from csv file with bash script

Looking for some way to look at a csv file and delete columns including the header that have no values in the subsequent lines that follow. Perhaps if I wanted to delete column Test03 from below ...
0
votes
6answers
109 views

Installing linux on windows 7

I am currently having Windows 7 on my system. As I am planning to learn Linux thought of installing it. But I don't want to have it as dual boot. Instead I want to use it when I am on windows 7 as a ...
0
votes
1answer
45 views

Mount new partition over top of live data

On my server, I have a tiny root partition that is now full up. I removed the swap from the hard drive that has the root partition, and moved the swap onto a RAID 0 partition. I now want to use the ...
1
vote
1answer
152 views

Can't find clogin command for rancid

I'm new to CentOS and setting up Rancid (only used rancid, but new set it up). I've having an issue were I type clogin as my rancid user, however i get command not found ...
1
vote
1answer
24 views

Can I have one piece of a flash drive dedicated to just files whereas the other piece is a bootable file system?

I'm putting my 16 GB flashdrive to the max. This is how I currently have it set up: +---------------------------------------+ | Partition | File System | Mount | ...
1
vote
0answers
54 views

How to safely back up a sparsebundle that is exported via afpd?

I have several OSX client machines that back up via TimeMachine to AFP shares on an Ubuntu Linux server, exported by netatalk/afpd. These clients back up at arbitrary times of the day, every day. ...
1
vote
1answer
80 views

When installing linux how does the root file system get created in disk?

I understand the Linux boot process fairly well. But the first time installation is pretty vague to me. How does the root file system (/etc, /bin, /sbin etc.) get created in the disk with the ...
1
vote
1answer
81 views

GPU glitches? Crashing both Linux Mint & Windows 7

My GPU is apparently dying on me. Yesterday it caused a BSOD on Windows and crashed MDM on Linux Mint. It caused a few strange graphical glitches before crashing on both operating systems. Today, i ...
1
vote
1answer
28 views

How can I restrict a bash find to only specific sub-sub-directories

I'm trying to list all the files in a specific sub-directory but different directories which are themselves on a different volume. The following works, but only on a fully specific sub-directory (and ...
1
vote
1answer
67 views

Delete all files older than a specific file name?

I want to be able to look for the most recent file ending in .backup, and delete ALL files that are older than that file (but of course keep newer files). Here is an example of a directory listing ...
3
votes
0answers
1k views

'user is not in the sudoers file' but actually is

I have already read a lot of posts about enabling sudo-access for a specific user but those couldn't help me so far. The situation is: I'm running Debian Testing. On the system there are only two ...
0
votes
1answer
123 views

nslcd failing to come up in Lubuntu 14.04 Desktop

After installing Kerberos and LDAP via instructions from Ubuntu's Single Sign On instructions, modified a mite to fit my setup, I could manually sudo service nslcd start and then call getent passwd to ...
1
vote
1answer
44 views

Execute dynamic command into all screen sessions

I am working on setting up a minecraft server network in ubuntu server 14.04 LTS. I have several screen sessions each with their own process running in them There are screens on: 2471.LobbyServer ...
0
votes
0answers
611 views

iptables: Allowing multicast & other traffic on LAN, not to WAN

I have a Linux 3.10 machine functioning as a NAT router between the wlan0 LAN and the eth0 WAN. I would like to allow all communication between machines on the LAN (they are trustworthy) and allow ...
1
vote
3answers
205 views

How can I restore my /bin/bash file?

I am facing a problem with my terminal (Ubuntu 12.04 LTS) . I was making some changes in the /bin/bash , but I have kept a backup of bash.rc in case of something went wrong. Anyway today I have tried ...
0
votes
1answer
245 views

I upgraded Xuntubu 12.10 to 14.10 Utopic Daily build BY Mistake

I accidentally added a line of source for Utopic to sources.list. And later my system can't get into GUI. While trying to fix the problem I accidentally typed in command sudo apt-get update and sudo ...
0
votes
0answers
120 views

Fedora / Vagrant Firewall Issue: Unable to Connect to HTTPd / MySQLd / Webmin

Yesterday, I migrated from Ubuntu to Fedora 20, and after some fiddling with NFS and iptables I was able to get my vagrant instance (CentOS 6.5) to boot, mount the NFS share, and was able to access ...
0
votes
1answer
72 views

iptables eth0 wlan0 bridge not working

I am trying to allow an embedded system to share the wireless of my laptop. The embedded system is an A20 Olinuxino Micro running Debian and my Laptop has Ubuntu 12.04. I tried this which has worked ...
1
vote
1answer
31 views

Transparently proxifying certain devices on the network

I'm using my computer as wireless access point and router to my home network using hostapd under Ubuntu 14.04. I want to transparently proxify certain wifi devices in the network (identified by their ...
1
vote
1answer
90 views

Require password for installing Windows applications on Admin account

I am trying to emulate some of the security I've noticed on Linux onto my Windows 8 machine. I really like that on my Ubuntu install, any time that I change anything potentially harmful (install ...
25
votes
3answers
2k views

What's all those users in the /etc/passwd file?

The /etc/passwd is supposed to have a line for every user on the system. Amongst the common username and root there is a bunch of other users. Some examples: timidity:x:114:127:TiMidity++ MIDI ...
0
votes
0answers
3k views

How to change resolution of CentOS 6.5 Resolution on virtualbox (Host: Win7)

So I'm trying to configure the resolution of my CentOS 6.5 virtualbox. Here are the steps I have taken: Installed guest additions Changed virtualbox preferences > Display > Maximum Guest Screen Size: ...
1
vote
1answer
275 views

Simplest way to verify if a given string is a valid FQDN name?

I need to supply either '-name' or '-sname' when starting an Erlang VM depending on whether the given string is a fully qualified name (FQDN) or not. What would be the quickest and ...
0
votes
3answers
3k views

Check if a DHCP server existing in my network using bash

using CentOS with static IP, Is there any way to determinate if a DHCP server running on the network using bash ?
0
votes
1answer
82 views

Enlarged partition, filesystem still reports old size

I resized the root partition with GParted, from 20 GB to 40 GB, but the filesystem still reports a size of 20 GB. How can I use all 40 GB? Update The resized partition was an LVM Physical Volume ...
0
votes
1answer
613 views

Windows (7 or 8) does not detect SSD during installation, Linux does

Since a few days I'm trying to install Windows (tried 7 and 8) on a new SSD (Crucial M550). However, the disk is not listed in the target device selection, nor is it listet when using diskpart -> list ...
0
votes
1answer
122 views

ZFS on linux: switch partition to whole disk

There is a ZFS pool with raidz1 in it. The pool is created on top of three 2TB drives using the whole disk and a 2TB partition on a 3TB drive. What is the recommended process to reconfigure the pool ...
0
votes
0answers
107 views

Mount Error (mount: page allocation failure. order:5, mode:0x40d0)

I am trying to mount mtd block on temporary file system(part of RAM). Some times mount command fails and below error comes in dmesg logs. Command: mount -t jffs2 /dev/mtdblock7 /temp/configuration/ ...
1
vote
1answer
26 views

Putty XForwarding open file in same instance

I have to use Eclipse ( or some other gui editor ) over putty using XForwarding with xming to remotely edit some files. The problem I'm facing is that sometimes I have an instance of eclipse open ...
0
votes
3answers
91 views

Is it a good plan to use a desktop tower as a server than purchase an actual tower server?

I have a Dell PowerEdge SC430 which is now 8 years old. I want to replace this server with a new one, but it was suggested to me so get a Desktop tower with the same specs because it's going to be ...
0
votes
1answer
108 views

How to share ppp0 to wlan0 with redsocks

I can't understand the meaning of this: I have a USB modem along with a USB Wifi router, and I use redsocks for ppp0. Then I want to forward the incoming connection from Wifi to redsocks. I have ...
0
votes
1answer
73 views

Fedora 20 Post-Upgrade: /boot Partition is Almost Full

I just recently upgraded one of my boxes from F18 to F20 which went very smooth (using fedup). However, now my /boot partition is almost full: /dev/sda2 477M 436M 12M 98% /boot ...
0
votes
1answer
114 views

USB key boots, but post-BIOS text-mode menu loops back to itself rather than booting OS

I'm trying to get a Linux Mint Debian Edition 16 USB key booting. On a Win7 machine, using linuxmint-201403-mate-dvd-64bit.iso (or 32-bit, they both do this), I used LiLi and forced it to use the ...
0
votes
0answers
116 views

Fedora Boot Loader not verified?

I just installed fedora 20 on my sister's HP laptop from a live USB. I told it to take all of the hard drive. It gives me two options from grub: Fedora, with Linux 3.11.10-301.fc20.x86_64 Fedora, ...
0
votes
2answers
240 views

Installing openssl on CentOS 5.3

I am trying building apache with mod_ssl and I am running into issues becuase my OpenSSL version is less than 0.9.8a. I tried updating but yum says I have the latest version ( 0.9.8e-27.el5_10.1, ...
0
votes
2answers
61 views

Move files from one server directly to another server without writing to PC disk

Forgive me if I word this Poorly. I'm working with a Linux desktop and several ESXi hosts. Lets name my desktop Desk-1 and the ESXi hosts ESXi-1 and ESXi-2 for simplicity's sake. I'd like to move ...