Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

1
vote
1answer
19 views

Why shouldn't we edit grub.cfg for grub2

If you cat /boot/grub2/grub.cfg, you get the big block of text telling you DO NOT MANUALLY EDIT THIS FILE, indicating that you should instead edit files in /etc/default/ instead and then run ...
0
votes
0answers
30 views

augtool saving failed

I am trying to set some parameter using augtool but getting strange error Linux$ sudo augtool set /files/etc/abrt/abrt-action-save-package-data.conf/OpenGPGCheck no error: Failed to execute command ...
3
votes
1answer
468 views

Creating threads fails with “Resource temporarily unavailable” with 4.3 kernel

I am running a docker server on Arch Linux (kernel 4.3.3-2) with several containers. Since my last reboot, both the docker server and random programs within the containers crash with a message about ...
0
votes
0answers
23 views

Scheduler for a system call in linux to execute some event

I am thinking about a use case. I want a script that will start up my Linux system, open a particular website and then shut down automatically. Is it possible to create a scheduler for my system? As ...
36
votes
4answers
55k views

Manually generate password for /etc/shadow

I need to manually edit /etc/shadow to change the root password inside of a virtual machine image. Is there a command-line tool that takes a password and generates an /etc/shadow compatiable password ...
0
votes
0answers
7 views

Is there a tool to check Windows MSI's Digital Signatures Hash for Linux?

I would like to automate the signature check for MSI's in a linux box, is there a tool that can help me achieve this?
0
votes
1answer
862 views

Is not a valid path to the kernel headers?

Host - Windows 10 VMware - 11.1.2 Guest - CentOS 7 I installed kernel-headers using yum since during the installation of vmware-tools I get a message "Searching for a valid kernel header path... ...
2
votes
2answers
71 views

Hard-link creation - Permissions?

Which permissions affect hard-link creation? Does file ownership itself matters? Suppose user alice wants to create a hard-link to the file target.txt in a directory target-dir. Which permissions ...
0
votes
1answer
25 views

$PATH variable for CRON in OpenSuse

I have a script written which works perfect on terminal however gives error when called through crontab. It took me a while that the problem is with the cron environment not my script. so I tried ...
0
votes
1answer
1k views

Mint 15 on Lenovo G700: wired internet not working (Atheros QCA8172)

Mint 15 doesn't see internet after installing it in dualboot with windows 8 (in Windows internet works well). My network card is Qualcomm Atheros QCA8172 Fast Ethernet (rev 10). What I did: Install ...
0
votes
1answer
12 views

How do I find an application that's already installed on Knoppix?

I have created a bootable USB drive with Knoppix. It works fine, but I was specifically looking for chntpw and a tool to wipe a HDD. This question is about where to find a package (chntpw) that ...
2
votes
0answers
24 views

avahi-daemon withdraws IP address from my network interface

I am running an Arch Linux server in my local network. It has avahi-daemon running on it to advertise some services (like a print server). It has happened for the second time now that my server was ...
28
votes
2answers
24k views

What is difference between User space and Kernel space?

Is Kernel space used when Kernel is executing on the behalf of the user program i.e. System Call? Or is it the address space for all the Kernel threads (for example scheduler)? If it is the first ...
0
votes
0answers
12 views

Exiting GUI Linux Mint

I need to install nVidia driver in Mint 17.3 Cinnamon. I tried Crtl+Alt+F1, but the only thing I get on screen is black screen. I've installed Mint on external HDD (USB3, SATA2, 5400 rpm). Is this a ...
2
votes
1answer
27 views

Taking and restoring an image of partition with dd

I created a new partition on my server /dev/sda4 with a filesystem based on ext3. I mounted the new partition /dev/sda4 on /mnt/sda4/ and created an image with dd of the partition /dev/sda3. sda3 is ...
0
votes
2answers
39 views

Booting stops at Loading initial ramdisk

I have installed Arch Linux on 40GB HDD on ga-g4mt-s2p1 Motherboard ( Intel Core 2 multi-core,2Gb of Ram) I have made 4 Partitions: /boot 100Mib Swap 4Gib / 20Gib /home The rest of the disk It ...
1
vote
1answer
11 views

Can't set correct permissions on share mapping

Im trying to setup a samba share. I want the share to have access rights rwxrwsrws so that everyone can red and write to it. The folder shared on the server where the share resides is sat by chmod ...
0
votes
0answers
47 views

Unable to install yum on cpanel server

I recently signed up on godaddy and have a user account on cpanel I can successfully use ssh to login to my server this is my operating system details when i use uname -a Linux ...
0
votes
3answers
40 views

How to start a windows partition from the Grub command line please help?

I have Windows 10 HOME installed on my system. After I installed Windows 10 HOME, I installed Ubuntu 14.04 LTS on a separate partition so that I could dual boot. I removed Ubuntu 14.04 LTS by ...
0
votes
1answer
29 views

Why does my nfs mount always changes to be owned by root after mounting?

I have a mount point for my nfs share: drwxrwxrwx 2 patryk patryk 4.0K Feb 4 16:23 nfs_share after I mount it I get $ sudo mount -t nfs 10.9.XXX.XXX:/root/src /home/patryk/nfs_share -o ...
0
votes
2answers
98 views

Why does the cd command handle STDIN different than other commands?

Commands like cd cannot have output piped to them in order to change directories--they require command-line arguments. Why does the cd command (and those similar to it, such as mv, cp, & rm) not ...
0
votes
1answer
24 views

Error starting Eclipse on Centos 6 (JVM terminated. Exit code=13)

After extract eclipse-jee-mars-1-linux-gtk.tar.gz and running eclipse I am getting following error. I have installed Oracle JDK. What would be the error and solution ? Java version [root@hithertech ...
0
votes
0answers
152 views

CentOS 6.5 + Pacemaker/Corosync + DRDB + MySQL Error

This is the first time I post on this forum. Glad to join the forum. I doing a project with Pacemaker/Corosync, DRDB and MySQL. I follow the document from clusterlab.org. Everything seem worked OK ...
-2
votes
0answers
11 views

Memory allocation [on hold]

you will implement a memory allocator for the heap of a user-level process. You will build your own version of malloc() and free(). Memory allocators have two distinct tasks. First, the memory ...
0
votes
0answers
4 views

lsusb can't detect pickit2

I have installed Arch Linux (i686) every thins works fine but when I try ti plug the PicKit2 (Programmer for PIC MCUs) and run lsusb it doesn't shown in the list I tryed it on Win7 machine and works ...
0
votes
0answers
21 views

forever stop not working in shell script [on hold]

I have a server in node.js that I must restart every 1 hour. So I created a server.sh file and put this: forever stopall forever start /var/www/server/server.js I tried this as well forever stop ...
0
votes
1answer
19 views

Open Unix/Linux Server via web browser? [on hold]

I want to open my Unix/Linux Server via web browser, then it should automatically redirect to putty session Just a fake GUI to make user fool. Any help would be great. Thanks !
1
vote
1answer
3k views

Trouble switching from DHCP to a static IP on Kali Linux

When I installed Kali Linux 64bit, I forgot to set up a static IP address, and now DHCP determines my address with my router. I have already modified /etc/hosts and /etc/network/interfaces to declare ...
0
votes
1answer
1k views

How to install Linux capabilities like setcap and getcap?

In my openSUSE 13.2 machine I can apply commands like setcap and getcap on some application. I moved that application to an openSUSE 12 machine that does not have capabilities installed. In the 13.2 ...
0
votes
0answers
21 views

Linux firmware issues between kernel versions?

I'm running kernel 3.13 with r8169 driver. I rebooted (not shutdown) into a 3.19 kernel with r8169. My network stopped working. I powered off my system with shutdown, waited 60 sec, and flipped the ...
0
votes
2answers
39 views

Wifi trouble on Linux Mint

I've been tackling this day two now. I recently dual booted Linux Mint on my Windows 10 machine. When I installed it, the wifi driver did not seem to be installed. I can only connect via ethernet ...
-1
votes
1answer
21 views

Statistics of System usage time (time of day, day of week)

I once found a tool that printed a huge amount of statistics about the time of day and day of week of computer usage when invoked. Unfortunately I don't remember the name neither did Google reveal it ...
5
votes
2answers
467 views

Fully Disable PrntScr Key

I recently came across a Linux feature I have never seen before, where pressing the PrntScr button on the keyboard prints a physical piece of paper with the contents of my console. I really need to ...
0
votes
1answer
26 views

I have no local IP on my CentOS 7.1 dedicated server

problem I've installed net tools and whenever I run ifconfig -a I come up with 2 network interfaces. Here is an example. [root@81756 /]# ifconfig -a eno1: ...
-1
votes
1answer
4k views

ifconfig shows only lo

I'm a beginner using Debian. I've just installed Debian 7.5.0 amd netinst. Actually I am trying to install the firmware through aptitude install firmware-linux-nonfree When I executed ifconfig and ...
14
votes
3answers
29k views

Which users are allowed to log in via SSH by default?

When I set up my Debian 6, I was wondering, which users apart from root whose password I know can log into my system via SSH? When I install Apache 2 a user called www-data gets created. Does this ...
0
votes
1answer
22 views

How do I setup MAC spoofing in Fedora?

I would like to setup MAC spoofing in Fedora, similar do what Tails does to their Debian. Any idea how? Thanks
11
votes
1answer
11k views

How can I mount filesystems with > 4KB block sizes?

I have a 3TB hard disk pulled out of a WD Mybook Live NAS. The partition table is as follows: Model: ATA WDC WD30EZRS-11J (scsi) Disk /dev/sdb: 3001GB Sector size (logical/physical): 512B/4096B ...
1
vote
1answer
6k views

rsh shows “poll: protocol failure in circuit setup”, why?

In the starting rsh worked properly, but after making some changes it shows some error [changes are shown in the end of this question, see that], I am sharing the same. Command $ /usr/bin/rsh ...
4
votes
0answers
69 views

Get quota usage information as non-privileged user

I have non-privileged access to a Linux server (shared PHP+MySQL hosting) and there are disk space, memory, CPU usage, I/O quotas. I wonder how can I get information about max/current quota usage ...
-9
votes
1answer
305 views

What does the output of ls -l mean? [duplicate]

I'm wondering, what this particular entry of the output of ls -l means. Could someone please explain the meaning of the fields? -rwxr-xr-x 1 root root 920788 Mar 28 2013 bash
0
votes
1answer
18 views

Do ZFS zvols on Linux use the arc cache ?

Is the ZFS arc cache used when doing an open() on a zvol device, or only when accessing ZFS datasets ?
3
votes
0answers
11 views

Why I need a framebuffer size larger then monitor size when transform destination area is smaller

I tried to remove 100px left & right the top of a 1366x768 screen (as below) using xrandr transformation. But I got an error about not enough framebuffer size. $ xrandr --output LVDS1 --fb ...
1
vote
0answers
14 views

disable USB on lockscreen [closed]

Hi we are hoping to do a research on how to block USB devices on lock screen in Linux GNOME environment. Any ideas on how to get started would be greatly appreciated. Any tutorials, links or basically ...
0
votes
3answers
44 views

How to change the Home directory of the currently logged In user

I am currently logged in into a CentOS server and I would like to change my home directory from /home/myuserName/ to /var/www/html/ I tried the below command : > sudo usermod -d /var/www/html ...
1
vote
1answer
35 views

Linux + capture only the IP's from mount command

please advise how I can to print only the list of the IP's ( in the end of the lines ) , from mount output mount netapp64:/lunggg/OracleTeam/OracleCDs on /oracds type nfs ...
0
votes
0answers
8 views

sqoop from MS SQL 2000

I have this sqoop problem with MS SQL server 2000 on my Cloudera setup, I tried to use jtds 1.3.1 to list the database it gave me the following error, not sure if anyone has experienced before: ...
0
votes
1answer
27 views

as small as possible linux for virtual machine with firefox 37 and up [closed]

I have unused machine with Intel T5500 (2cores), 2GB RAM. Now need to pick as small as possible linux distro for running as virtual machine. I just need to save as much CPU as possible and be able to ...
3
votes
1answer
2k views

GNU/Linux: “device mapper: create ioctl failed” “device or resource busy”

I can't mount my encrypted devices anymore. The error is: device mapper: create ioctl failed device or resource busy This error arises both with two different programs to access TrueCrypt ...
2
votes
1answer
55 views

Something confusing about “su -” and “su” [duplicate]

I am studying the Linux command line. But the book which I'm reading says that su -l(-) username is starting a new shell session and loading the environment of the user I want to change to, but su ...