These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

0
votes
0answers
9 views

trying to tether android lollipop to linux mint 17.1 cinnamon using usb

i keep getting this error after installing "mtp-tools": No such interface 'org.gtk.vfs.Mount' on object at path /org/gtk/vfs/mount/1 already checked for extra mtp programs, semi new to linux. ...
2
votes
1answer
15 views

How to convert .bin/.cue files into DVD-ROM UDF-ISO file in linux?

How to convert .bin/.cue files into DVD-ROM UDF-ISO file in linux ? I found that genisoimage can make CD-ROM UDF with that command: genisoimage -udf -o MY_FILE.iso ~/MY_DIR/ but I didn't find for ...
1
vote
1answer
25 views

User Permissions problem in CentOS 7: “Permission denied”

I thought that I knew how to set up permissions in Linux. I apparently don't. I have a user called "web3". This user was automatically created by ISPConfig (A server management application like ...
-2
votes
1answer
27 views

How to view an specified user's pemissions in linux? [on hold]

can anyone please suggest me how to find out the permissions of a specified user in linux? I'm getting the information regarding the files/groups etc. But I need specific users permissions ...
1
vote
0answers
42 views

how to detect CD physically inserted into drive

How to detect that CD was physically inserted into CD mechanics ASAP? The CD is mounted automatically but it takes like 20 seconds sometimes - and it is just then that I know the CD is inserted.. ...
0
votes
1answer
17 views

How to use puppet to format a partition with a file system

With a filesystem such as ext4 or xfs. But how can we make sure it doesn't do it again and again on each run. I want it to do just on the First Run
0
votes
1answer
24 views

Suspicious traffic in nethogs on fresh install

Earlier today google said that unusual traffic was emanating from my computer and gave me a captcha. I got curious and installed nethogs. Everything appears normal except for an unknown program ...
-4
votes
0answers
34 views

Oracle VM only gives me a local IP address (127.0.0.1) [on hold]

I am seriously struggling with this. My Oracle VM does not allow me any other IP address except the local one, 127.0.0.1. How can I get a proper IP address as well?
0
votes
0answers
35 views

Send command to open process in Shell file

In bash how can I issue a command to a running process I just started? For example; # Start Bluez gatttool then Connect to bluetooth device gatttool -b $MAC -I connect # send 'connect' to the ...
-3
votes
0answers
26 views

Modifing RM & LS [on hold]

I am new in Linux, is there a way to do the following: Modifying RM command so that a file in a specific folder are not deleted (means making deception) Then Modified LS in such a way that it doesn't ...
1
vote
1answer
17 views

Why does `hostname.local` resolution fail

I have a number of Linux machines, all with avahi running and a few Macs, all on the same local network. I often use ssh between pairs of machines, using hostname.local as the address. Most times ...
2
votes
1answer
31 views

Forwarding X-windows through a su - session

I'm trying to forward my X windows, but seems to be limited to just on session? What I'm trying to do is invoke x-applications as another user, through a sudo su -. If I know the other user's ...
2
votes
0answers
40 views

How do Linux kernel modules get enabled in a Linux distro's kernel package?

Although I know how to recompile my kernel to enable a module I want, I'm curious to know how the default Linux kernel modules are chosen in a Linux distribution's kernel package. Taking a comparison ...
0
votes
0answers
19 views

Automount USB sticks on fedora 22

I need to automount any USB stick that gets connect to any USB port. I am running Fedora 22. I thought this would be straightforward but it is taking a while for me to set up. The tutorial I find when ...
0
votes
0answers
15 views

Strange PFN read from pagemap

I m trying to find the physical page to which a range of virtual addresses are mapped in a piece of C code that I ve written. I m using the /proc/self/pagemap to read the mapping. I ve used the code ...
2
votes
1answer
62 views

Switch off 11-minute kernel mode

If ntpd works, then the kernel copies system time to hardware clock every 11 minutes. It is shown by command adjtimex --print I want to stop the kernel eleven mode. If I run hwclock ...
0
votes
0answers
7 views

Left-clicks not working for any device in openSUSE Tumbleweed

Okay, so I really am at wit's end here. I had this problem where my left click stopped working randomly. It had happened once before, but I thought it was a non-issue, as the problem manifested when I ...
0
votes
1answer
15 views

Install compat-libstdc++-33.i686 on Red Hat Enterprise Linux Server release 6.5 (Santiago)

I need to install compat-libstdc++-33.i686 on a Red Hat Enterprise Linux Server release 6.5 (Santiago) without a Red Hat Network Subscription. Is there some where that I can download the required .rpm ...
1
vote
2answers
31 views

Using DD Disk Image on Red Hat

How can I use dd command on a Linux Red Hat Server 5 to obtain a disk image and then use it eventually in Virtual Box?
1
vote
1answer
30 views

how do I add a second ipv6 address on Linux without making it default

I would like to add an extra IPv6 address so I can run a service on it but I want to retain the existing IPv6 address as the address to use for outgoing connections. When I add an ipv4 address with ...
1
vote
1answer
29 views

Restoring file system using tar causes login loop

Note: I am doing this to learn more about linux. I understand there are other tools that can be used with simple interfaces. Note: I am using Fedora 23. I have it installed physically on an SSD and ...
1
vote
1answer
38 views

Shell Font Over SSH

I have a Linux machine (CentOS 7) in which I frequently SSH into from multiple devices. I have installed ZSH and Oh-my-zsh on the remote machine. I would like to install the following theme: ...
2
votes
1answer
20 views

Unable to edit the /sys/block/sdX/device/queue_depth file

I'm trying to increase my SSD's queue depth value with the following command: echo 64 > /sys/block/sda/device/queue_depth But I receive the following error: bash: echo: write error: Invalid ...
0
votes
0answers
23 views

linux + start script under /etc/init.d dependencies with other services

from some reason the script UPMnT.sh not start at boot I cheeked everything: chkconfig is ok links are ok but I worry about maybe there are dependencies between other script to this script can ...
-1
votes
0answers
23 views

What is the difference between “make defconfig” and “make alldefconfig”?

When configuring a linux kernel there are different ways to use a "default" config: defconfig - New config with default from ARCH supplied defconfig alldefconfig - New config with all ...
1
vote
1answer
21 views

Libraries and linux Kernel 2.6

Which command i can use to see what my current installed software libraries use from the Kernel 2.6? I want to know this so I can check if it would work fine in case I upgraded my Kernel to 3.1.
1
vote
1answer
44 views

Why are given file sizes slightly different between Windows and Linux?

I have just transferred (via scp) a bunch of .gz files from a Windows machine to my Linux machine. They are large files so I checked they had transferred entirely by comparing file sizes. Those that I ...
3
votes
2answers
63 views

Script execution failed

I have created a script to capture the heap and thread dump of a running java process. #! /bin/bash myhost=$(uname) if [ "${myhost}" == "SunOS" ]; then ...
1
vote
0answers
30 views

Static CDC ACM device binding

I'm using a buildroot linux on IMX6 board. I have 2 CDC ACM device, a reader and a modem. My modem have always been on /dev/ttyACM0 and I want it to stay that way. The problem is that my reader is ...
1
vote
1answer
28 views

insmod: cannot insert './intrpt.ko': Function not implemented

I'm writing a kernel module that receives interrupts for mpc8308 (PowerPC) board. when I make the code for Ubuntu and my current version of kernel it works well with interrupt of keyboard, but when I ...
3
votes
2answers
160 views

Why doesn't iptables receive the marked packet?

I was learning the ping command options. In that I found the -m option to set the mark for a packet. The below command sends the packet with marking of 10 to the 192.168.2.65. ping -m 10 ...
1
vote
0answers
19 views

How to customise the output format for linux log when view log in terminal?

when I run this monitor command $ sudo tail -f /var/log/ufw.log | cat -n 1 May 23 03:04:25 Vultr-Ubuntu14-Tokyo kernel: [51809.671147] [UFW BLOCK] IN=eth0 OUT= ...
-3
votes
1answer
21 views

How to make user but without access to public_html

How to make an user for linux, who can't access public_html folder? UPDATE: Indeed I want to use http://example.com/~user/ but user doesn't has any permission on other rootdir. How can I do it?
0
votes
1answer
11 views

Custom scripts under /etc/profile.d and /etc/init.d - rhel6 and rhel7

I need to start my script during boot time. I have read that the scripts under /etc/init.d & /etc/profile.d are sourced during system startup. How different are these directories? Other than the ...
1
vote
0answers
14 views

xcalib not saving brightness settings and other issues

I have certain issues which I'll list below, I hope you can help me: 1.) I have xcalib installed, I use it to manually change my contrast settings (something not possible in ubuntu directly, at least ...
0
votes
1answer
21 views

yum + list all available security updates without installing them, on redhat 5?

To list all available security updates without installing them, I run this and this syntax is working on redhat 6 and 7 # yum list-security --security please advice what is the syntax for redhat ...
1
vote
1answer
24 views

Docker container on Red Hat Linux server 5.9

Can I install Docker on Red Hat server 5.9 so I can take an image container from an installed software and move it to another server? Or should it be enough to update the Kernel up to version 3 so ...
1
vote
0answers
17 views

mount usb disk via udisksctl need root privilege

I don't know why, but on my ubuntu 16.04 laptop, udisksctl can work properly without root privilege. However, when I plug this disk to centos 7, the execution of same command needs root privilege and ...
0
votes
0answers
29 views

Login as normal user always results in root account [closed]

I installed slackware and added a user. When i log in as the user everything looks well however it is logging this user as root. I can't see where I went wrong. When I try to open an application for ...
3
votes
0answers
27 views

Git with multiple users on other systems using setfacl?

I'm setting up a git environment where multiple developers will work with per project. We have 1 server running git, and 2 seperate servers, 1 live and 1 dev. on dev I created a group and added the ...
1
vote
0answers
30 views

pam su authentication with RSA token [closed]

We are implementing RSA token authentication in our company and management decide su - should ask for RSA token passcode for individual (listed users) user. So no-one is going to get root password: ...
1
vote
0answers
8 views

Networking failed to start on Alpine linux

I keep having an error when booting Alpine Linux Networking failed to start. I'm using a RPI3 which is connected by an ethernet cable to the box. Here's the /etc/network/interfaces : auto lo iface lo ...
1
vote
0answers
26 views

How can I preseed the answers to the prompts in this deb?

I am trying to install jitsi-meet on a vm via automated script . However, the deb package prompts for a hostname. How can I set this value from a script? I have tried using debconf-set-selections, ...
-3
votes
0answers
17 views

Wine installation issues [on hold]

Yesterday I was installing Wine in kali linux, (dual booted with windows 8.1), as I entered wine install there came an error, wine: cannot find L"C:\\windows\\system32\\install.exe" how to deal with ...
-4
votes
0answers
18 views

Comparing two files Script in UNIX [closed]

I want a script for Comparing two files in UNIX and place an echo error in log file if the files are not matched from source to destination can anyone help me /?
3
votes
2answers
76 views

Systemd : How to execute script at shutdown only (not at reboot)

There is a lot of solution here to execute a script at shutdown/reboot, but I want my script to only execute at shutdown. I've tried to put my script in /usr/lib/systemd/systemd-shutdown, and check ...
1
vote
0answers
34 views

External Fragmentation in FreeBSD due to unmovable Kernel pages

Is external fragmentation an issue in FreeBSD due to unmovable Kernel pages similar to what Linux (1) (2) faces?
0
votes
1answer
30 views

Remove Some content from file in unix [closed]

I have a file which is having some names , i want to remove some of the names from it . eg the files has names.trg , i want to remove all the names ending with .trg how can i do that in unix ? ...
1
vote
2answers
28 views

Getting the original command invocation from /proc/self

I'm trying to run some startup code in all procesess via the dynamic linker. The code should do stuff based on the zeroth argument of the process. I'm getting the arguments from /proc/self/cmdline ...
1
vote
1answer
14 views

Best NFS scenario to both read and write at certain times?

The problem that I'm facing is that I have an NFS NAS that I use to store and export a home directory, media files like music, movies, etc. The critical things are backed up, so spare the comments ...