All Questions

0
votes
1answer
13 views

How PAM determines system password and 2FA OTP

I configured freeradius+google auth otp using this link. Below are content of /etc/pam.d/radiusd auth requisite pam_google_authenticator.so forward_pass auth required pam_unix.so use_first_pass ...
-1
votes
0answers
51 views

Why can't run same binary on different OS

If I have 2 identical computers with the same cpu but different OS, for example Windows and Ubuntu (or some other linux stuff). Why can't I execute the same executable? Shouldn't the instruction set ...
0
votes
0answers
5 views

How to link a C library to an Assembly library on Mac with clang

I have this in my C library: myc: @clang -I . -dynamiclib \ -undefined dynamic_lookup \ -o myc.dylib myc.c .PHONY: myc And this in my assembly library: buildasm: @nasm -f ...
1
vote
1answer
33 views

Are there binary packages available to upgrade python3 on Debian 9?

I need to upgrade Python on 30 laptops at several remote sites. These laptops have Debian 9 with Python 3.5, and the library they'll be using for the planned activity (arcade) requires Python 3.6. I ...
2
votes
1answer
28 views

Accessing internet hosts from qemu guests behind a bridged network

I am trying to set up a number of qemu quests on the same private network. I want them to not be accessible outside the host but they should be able to access each other and resources from the ...
0
votes
2answers
54 views

Writing to a file horizontally

I have a script that I want to run and then write the output to a file in a specific format Currently when I run the script and direct it to standard output it gives it to me in the format I want. The ...
1
vote
1answer
29 views

exit terminal window

I often ssh to linux using putty. Sometimes directly ssh, sometimes invoke putty inside winscp by "open session in putty". In some cases when I have two putty terminals connected, and type "exit" to ...
-2
votes
0answers
54 views

What can an IP address be assigned to? [on hold]

What can an IP address be assigned to, a network interface, which is what I thought originally. (I seem to hear a network interface can have multiple IP addresses assigned to it, and if it is true, ...
2
votes
1answer
19 views

ip6table-restore failed in Debian buster/sid

I have the below iptable rule in /etc/iptables/rule.V6 and /etc/iptables/rule.V4 -4 -A INPUT -p icmp -j ACCEPT -6 -A INPUT -p ipv6-icmp -j ACCEPT when I tried to restart the netfilter-persistent, it ...
0
votes
2answers
35 views

Bash: minus one to the sub string split by separator

I would like to batch rename filenames turning A-B-C#2-D.wav to A-B-C#1-D.wav. So for example: A-B-C#2-D.wav A-B-C#8-G.wav A-B-C6-E.wav becomes A-B-C#1-D.wav A-B-C#7-G.wav A-B-C5-E.wav So the ...
0
votes
1answer
22 views

SFTP over Midnight Commander still asks for a password

In linux command line, when I connect to sftp or ssh this, it connects using my public keys and doesn't ask me for a password. sftp user@host It also works when I do ssh user@host But somehow ...
0
votes
0answers
8 views

How to encrypt disk on Manjaro after installation

I have installed Manjaro Cinamon. How can I enable now full disk encryption? Does Manjaro provide some GUI for this?
0
votes
0answers
7 views

Unable to write to VMWare Debian virtual drive

I created a Vmware Debian virtual machine and I cannot write to the virtual HD, saying I have no permissions. I tried SUDO CHMOD -V -r 777 * but no luck. The same happens on any virtual Linux ...
0
votes
2answers
51 views

When does `[::]` or `0.0.0.0` mean this network and when this host?

Tanenbaum's Computer Networks says The IP address 0.0.0.0, the lowest address, is used by hosts when they are being booted. It means ‘‘this network’’ or ‘‘this host.’’ [::] is IPv6 version of ...
0
votes
0answers
46 views

When does an IP address not need to be assigned to a network interface?

ping 127.0.0.2 can receives response. $ ping 127.0.0.2 PING 127.0.0.2 (127.0.0.2) 56(84) bytes of data. 64 bytes from 127.0.0.2: icmp_seq=1 ttl=64 time=0.068 ms 64 bytes from 127.0.0.2: icmp_seq=2 ...
0
votes
0answers
5 views

Disable fzf --preview for binary files

I've following in my ~/.bashrc: export FZF_DEFAULT_OPTS=' --height 40% --multi --layout=reverse --border --bind ctrl-f:page-down,ctrl-b:page-up --preview "head -100 {}" ' But this also ...
1
vote
1answer
24 views

iptables-restore failed in Debian buster/sid if it has --multiport option in the rules file

I have /etc/iptables/rule.v4 file contains many rule, the below is the line where I see the issue -A INPUT -p tcp -m multiport --dports 22 -j ACCEPT -A INPUT -p udp -m multiport --dports 16384:32768 -...
-6
votes
0answers
39 views

In what cases, can ping receive response when the IP address is not assigned to a network interface?

Is ping supposed to test if an IP address has been assigned to a network interface and if the network interface is reacheable? Stephen replies at Why is some virtual network interface assigned ...
0
votes
0answers
6 views

Does tmux kill-server shut down running applications gracefully?

Using the tmux command kill-server one can immediately shut down the tmux server and close all open tmux windows. How does this affect the processes still running inside the various tmux windows? Will ...
0
votes
0answers
12 views

Gadget mass storage passthrough

I'm using Yocto in kernel 4.14 (computer 1). I have two USB port : Host : with a USB key (mass storage device) plugged OTG : connected to another computer (computer 2) ################...
0
votes
0answers
3 views

xxkb set layout globally/fixed layout for an app (xxkb with tint2 and openbox)

I use xxkb with openbox. xxkb will track the individual apps, and set their keyboard layout individually. I would rather set the layout globally, so it I set en_US, all the apps would have that ...
-8
votes
1answer
28 views
-6
votes
0answers
18 views

how to take an output of a script as an input to another one? [duplicate]

how to take an output of a shell_script as an input to another one, example: load.sh -d , file.txt | limit.sh 2 ? using ubuntu
-1
votes
1answer
6 views

Dnsmasq/Ubuntu “NoDHCP or proxyDHCP offers were received”

I've spun up a Ubuntu 18.04 (Bionic Beaver) server* with the intention of mounting the DBAN .iso so that I can PXE boot this. *server version of Ubuntu but this is actually desktop hardware (a Dell ...
0
votes
2answers
85 views

Are the IPv4 and IPv6 networks for my loopback interface the same network?

In output of ifconfig: lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen ...
1
vote
0answers
9 views

interactive unkillable shell during shutdown

My VBox CentOS 7 image with some custom software has a problem that it shuts down too long. I'd like to find the culprit by running shell commands from the console, but all shells are being killed. I ...
0
votes
1answer
43 views

how to pipe two to shell scripts?

how to cut the selected columns from the file. Example: load.sh students.csv | select.sh ‘name’ ‘school_name’ This will output the name and school_name columna from the loaded file to the ...
0
votes
0answers
21 views

pip not working after installing another python version

My CentOS 6.5 machine already had Python 2.6 installed in it. Now I just installed Python 2.7. But now, pip is not working. Whenever I run any pip command, it shows following error- File "/usr/bin/...
2
votes
1answer
28 views

Can't login anymore onto my Ubuntu server

I've tried to change the shell for my root user. When I login now with my no-rights user and try to switch to my root users with su root -> password, the login fails because of this message: ...
-2
votes
0answers
13 views

Why apache don't recognize that path /var/www/html/domain.com/main_site/public?

Why apache don't recognize that path, but hes can recognize that path: /var/www/html/domain.com/public/ What's the point? It's always give me an 403 forbidden error or error 500, even IF all config ...
1
vote
2answers
50 views

Why is some virtual network interface assigned private IP address, while some is assigned loopback IP address?

Are docker0, lo and virbr0 are virtual network interfaces? Why are docker0 and virbr0 assigned private not loopback IP address? If private IP address can work like a loopback address, can lo be ...
2
votes
0answers
6 views

Is it possible to associate an existing NIC with guest without bridge?

I have an existing virtual Ethernet device veth0 and I want to use this for virtual-machine. At the moment, I create a bridge for this, e.g: virt-install --name vm --network bridge=br0,model=e1000 ......
2
votes
0answers
8 views

systemd service management using pkla equivalents to polkit's rules on Debian

I'm trying to allow users of a somegroup to manage someunit systemd service. In polkit (>=0.106), this can be done by adding rules: /etc/polkit-1/rules.d/20-someunit.rules --- polkit.addRule(...
0
votes
0answers
10 views

(OPENVPN/OPENSSL) Configuration file routines:STR_COPY:variable has no value:conf_def

I can't run "openssl req" to create a new key, the output presents an error error on line 39 of /etc/openvpn/openvpn-ssl.cnf 140264035997600:error:0E065068:configuration file routines:STR_COPY:...
0
votes
1answer
39 views

Bash Script to ssh into a macOS and execute a local script

I used the following command to initiate a ssh connection to a remote macOS .Objective is to perform successful ssh login and mount a particular network share (via the mount.sh script).The script ...
0
votes
0answers
7 views

Zypper completely not working

I've experienced a sudden error when trying to run zypper by any form: zypper: symbol lookup error: /usr/lib64/libzypp.so.908: undefined symbol: gzdopen Not very sure how to fix that, since the ...
0
votes
0answers
20 views

Process only takes 50% of RAM on Debian [duplicate]

I have a program in python which takes lots of ram. My server has 16gb of ram, but when the program reaches ~8gb of ram, the os starts writing on disk which breaks performance. I want the process I'm ...
0
votes
2answers
20 views

Finding exact string from variable in an awk commmand?

I'm trying to the use the following awk command to return a user from a file that lists all users on the system but only if the 8th field is empty and they match the user variable (it's being using in ...
0
votes
1answer
51 views

Can a program run in kernel mode?

Based on my understanding, the CPU executes kernel code in kernel mode when an interrupt is fired (for example: system call, keyboard key pressed, etc.), but I am wondering if we can have a program ...
0
votes
1answer
22 views

umount filesystem when exit from chroot

Is there a way to automatically unmount a filesystem when doing 'exit' command from a chroot? $ mount --bind /proc proc $ chroot . ~ exit #now in chroot and call exit. $ # back to main device. I ...
1
vote
0answers
4 views

How to ensure if multipath discovery is complete?

On my machine, the multipath discovery takes random amount of time to discover and map all the disks under /dev/mapper directory. The number of disks to be discovered is not constant. How to ensure ...
0
votes
0answers
31 views

Ctrl+a + d not only detaching screen but terminating it

I'm connected by ssh to a remote server with Debian where I use to put some experiments in screens and, I think after updating some packages because it worked before, I'm getting a '[screen is ...
1
vote
1answer
28 views

something wrong with my makefile about wildcard

I have a bunch of .c test source file in directory tests/. Now I want to compile and link them respectively and output the executable *.out in tests/. So I wrote a makefile, which didn't work. # ... ...
0
votes
1answer
7 views

Bash terminal trying to read a previously installed file on each start up

Whenever I open the (Gnome) terminal from my Fedora 26 system this line is being displayed first before the command prompt: -bash: /home/kiran/AIPS/LOGIN.SH: No such file or directory I understand ...
0
votes
0answers
2 views

Config files for mime settings

I have an Aweseome-wm + xfce system. Where does xfce4-mime-settings stores its values? In particular as regards default apps. The GUI values are different for me from those on ~/.config/mimeapps....
-1
votes
1answer
13 views

find in a file where sign of a column entry changes and print first line where this happens

I have multiply files, each with three columns. I would like to monitor where a given column entries first change sign (i.e negative to positive) so that I save that row where this first happens to ...
0
votes
1answer
41 views

Is there a way for bypassing the usage of prefix 'sudo'

I am able to execute all the by using the prefix sudo. As of now I was able to remove the password dependency for user qedbuser. I would like to not use the word sudo. One my application is trying ...
-1
votes
0answers
17 views

ssh suspend doesn't work on windows

I'm a Windows 10 user with WSL running Debian(WLinux). I cannot suspend a ssh connection using ~^z. Other character sequences like ~. or ~? does work as expected. I have no trouble to use ^z to ...
-1
votes
0answers
18 views

how to identify the time that process is down according to name of process

we want to verify if presto process is down more then 5 min the proccess ps -ef | grep -i presto root 60311 1 99 10:00 ? 00:01:19 java -cp /opt/PL/presto/presto-server-0.216/lib/* -...
-1
votes
0answers
19 views

How to execute script on remote linux machines [on hold]

I am trying to get df -h output from different Gnu/Linux hosts, and get output to my local host, while all remote hosts have different root passwords.

15 30 50 per page