All Questions
0
votes
0answers
2 views
set a limit on concurrent SSH/SFTP connections to 2 per user
I made the changes in /etc/security/limits.conf
test hard maxlogins 2
sftptest hard maxlogins 2
After above entries i have tested below scenorios
Open 2 putty sessions ...
0
votes
0answers
4 views
iptables masquerade not working properly
I'm trying to use a Raspberry Pi to act similarly to a network bridge by using iptables with MASQUERADE. Although I know there are many technical reasons that this is not a bridge, all I need to do is ...
0
votes
0answers
4 views
Is it possible to force fwmark reflection in arbitrary-TCP reply packets?
Has anyone solved the problem of fwmarks being lost in TCP socket-connection replies?
Background:
I need to ensure replies go out on the same interface on which their requests were received, and ...
0
votes
0answers
8 views
Fix Spectre and Meltdown on RedHat Linux 6 and Ubuntu 14.04 LTS
An any procedure of how can I fix the spectre and meltdown issues on Ubuntu and RedHat Linux 6/CentOS?.
0
votes
0answers
12 views
Does `set -eo pipefail` cover commands executed in FIFO redirect?
I have a bash script that has this
set -eo pipefail
# ...
cat <(echo "SET FOREIGN_KEY_CHECKS=0;") <(mysqldump $dump_options) | mysql --login-path="local" --database="$tmpDb"
Sometimes the ...
0
votes
1answer
20 views
Music Production Software For Linux
Before I switched to Linux as my main OS, I used to make music just for fun. I was making EDM (Dubstep/Drum and Bass). I'm on Fedora 27. I wanted to start making it again because I can. What DAWs are ...
0
votes
0answers
11 views
Is there a way to get Firefox to change theme according to the distribution it finds itself on?
I have Firefox installed on the 13 distributions I have installed on my PC. I have them all signed up to sync (so any change in theme on one affects all of them automatically) and I have a few distro-...
2
votes
2answers
23 views
Is there a simple way to recursively copy all symbolic links under a directory to another directory, preserving the structure?
I have a directory ~/foo/ that's populated with subdirectories, files, and symbolic links.
$ tree ~/foo/
foo/
├── eggs
│ ├── baz
│ │ └── link3.txt -> /home/me/file3.txt
│ └── link2.txt -&...
1
vote
1answer
21 views
Bash - pause and resume a script (for-loop) with certain key
I am using the following counter functionality in a script:
for ((i=1; i <= 100; i++ )); do
printf "\r%s - %s" "$i" $(( 100 - i ))
sleep 0.25
done
is there a way I can pause and resume ...
0
votes
1answer
21 views
Transfer files with SSH from inside the connection
Is there any way to transfer files from a server to a host computer, from within the server ssh connection? I am storage limited on an HPC, and so some jobs require transferring and then deleting ...
1
vote
0answers
10 views
undefined reference, even when the linked library does exist
I'm trying to compile VTK from source and I received the following error. I'm running Fedora 27, kernel version 4.14.11-300.fc27.x86_64
/usr/lib64/libSM.so: undefined reference to `uuid_generate@...
-3
votes
1answer
20 views
ssh'ing from Windows machine to Ux with public key to avoid typing passwd, with putty
I have a local workstation Running Windows called myDesktop where I'm logged on with user name 'windowsLogin', and a Linux target server called myLinux, where I must ssh-log with user 'linuxLogin'.
...
0
votes
0answers
15 views
Is there a Linux distribution for AI researchers?
Is there a distribution which has AI packages pre-installed?
I mean like Edubuntu for education, Ubuntu Studio for music producers, Kali Linux for penetration testers etc.
Is there something for AI ...
-1
votes
0answers
7 views
Automatically install umet build dependencies as detected by dpkg-checkbuilddeps
Is there a command that installs all the unmet build dependencies that dpkg-checkbuilddeps would list? I tried to sed the output and give it to apt-get install, but it seems very hacky and for some ...
0
votes
1answer
15 views
Best way to monitor changes in filesystem in a server
Recently I have an attack to one of my servers. Apart from harden the security measures at place, I am planning to install a tool to monitor changes in the filesystem.
I want a free tool (no cost) ...