Tag Info

Hot answers tagged

9

Linux MD RAID info is most often written to the RAID superblock on each device, making it intrinsic to the array. This is the reason, why an array created by one installation can easily be found and started by another installation. There is the possibility of a non-superblock array, that must be assembled by using outside knowledge, but this is rather a ...


7

This is most likely malware using an exploit in elastic search or java. I have run in to the same issue where my tomcat7 user gets compromised and there are the same processes running that you have. There should be the following files (or similar) in your /tmp folder owned by elastic+ .ECC6DFE919A382BADRR1A8CDFC9FB43AA0 zzt.pl and possibly mysql1 ...


4

The answer to the question in the title is right there at the beginning of the output: ELF 64-bit LSB executable, x86-64 ELF is the Executable and Linkable Format, the binary executable file format most commonly used by Linux. x86-64 is the architecture of the binary, the 64-bit version of the x86 instruction set originally introduced by AMD. For ...


3

The line tar (child): xz: Cannot exec: No such file or directory gives you the real error. The xz programm cannot be executed, probably because it is not installed. To install the xz (de)compression tools, issue sudo apt-get install xz-utils


3

You can check where those values were changed via :verbose setlocal ts? et? Likely, it's by this added line in $VIMRUNTIME/ftplugin/python.vim: " As suggested by PEP8. setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8 You can undo this via a script ~/.vim/after/ftplugin/python.vim with the following contents setlocal noexpandtab shiftwidth=4 ...


2

Generally yes, either through changing the boot order in bios, or by selecting a boot device in the system boot menu. If you don't want one bootloader stepping on the other, disconnect the other SSD and install. You don't need to 'turn off' the SSD - the windows system can't see the linux FS without additional filesystem drives, if they exist, and the linux ...


2

The address you are trying to connect to is a link-local address. When using such addresses you must always specify the network interface. The common notation is a suffix of % and the interface ID. In your example that would become: fe80::a00:27ff:fe0c:5c90%eth0. And because link-local addresses are local to the link they cannot be routed. Because of this ...


2

If you're running Linux, you may be able to use testdisk, which comes bundled with photorec. I didn't think it would work, but it recovered my .odt document saved in the /tmp file. sudo apt-get install testdisk sudo photorec (Then follow the prompts) See original reference: http://ubuntuforums.org/showthread.php?t=1352636


2

Pulseaudio in Ubuntu is configured to use per-user sessions. That means that while the normal user account can happily access it, as you've experienced, it is not configured to be used by another user at the same time (such as root). This isn't a bug; it's normal behavior given the configuration Ubuntu ships with. "I've spent many hours researching ...


2

The OP confuses two different questions: policy and password length. As already stated by @BillThor, password length is dealt with by the PAM module, under the not truly auspicious keyword obscure, in the file /etc/pam.d/common-password, which contains the following line: password [success=1 default=ignore] pam_unix.so obscure sha512 The ...


2

Simplest way to do this on ubuntu server installer (works at least on 14.04) At question "Do you want to install GRUB on master record", answer NO you will be prompted where to install GRUB instead, type "/dev/sdb"


2

It definitely is possible. Archlinux has this howto that should illustrate how to do it with their system, and you should be able to deduce how to go about doing it from others by reading. Debian has instructions as well, though theirs seems more geared to just running it in a chroot, or installing to a separate hard drive for dualbooting. Likewise, it ...


2

Try to use this: scp -P SERVERPORT -o 'ProxyCommand ssh -p WORKPORT WORKUSER@WORK nc %h %p 2>/dev/null' localfile SERVERUSER@SERVER:remotefile ProxyCommand create the proxy on WORK host that connected to SERVER:SERVERPORT (see nc). %h and %p are ssh variables - target host and port respectively.


2

They might have binary characters in the filename. For cat /data/file1.txt, try instead matching part of the name, and letting the shell figure out the rest of it: cat /data/*1.txt


1

So it turned out that libstd++6_4.9.0-8 depends on gcc-4.9-base (= 4.9.0-8). However I got installed gcc-4.9-base of version 4.9.0-7. I figured it out after I tried to install previously downloaded package with dpkg. # apt-get download libstdc++6=4.9.0-8 # dpkg -i libstdc++6_4.9.0-8_amd64.deb (Reading database ... 64836 files and directories currently ...


1

You can use Expect for such tasks. Here's a starting point: spawn ansible all -m shell -a "reboot" --ask-pass expect "Password:" send "secret\r" expect eof # from this point it depends on the behavior of Ansible... Save this snippet to a file, say reboot-ansimble.sh, then run it with: expect reboot-ansimble.sh PS: If Expect is not installed you should ...


1

Omit Those lines # read bashrc source ~/.bashrc You can't mix configuration files of different programs (bash and tmux in your case) Update: In your tmux session unset this bash variable to solve "ps1_update: command not found" , just run : $ PROMPT_COMMAND= to change your command prompt from "($(cat)user@tiki:~$" to "user@tiki:~$" , we have to ...


1

I tried for ages, different solutions, taking me around all kinds of options, installing Shotcut, and so on. In the end, what worked for me was: install the following: sudo apt-get install pkg-config yasm frei0r-plugins cmake libfaac-dev libx264-dev opencl-headers download latest frei0r zip from https://github.com/ddennedy/frei0r/archive/master.zip ...


1

I don't see anything obviously wrong with the sshd_config lines that you posted. It seems there are three possibilities here: Nothing is really wrong, but sshd needs to be started. sshd is able to run, but it's not listening on the right IP address or port. Something is preventing sshd from starting. For all of the following, you'd have to be root on the ...


1

Disabling the lock seemed to work for me on Ubuntu 14.04 DISPLAY=:0 sudo gsettings set org.gnome.desktop.screensaver lock-enabled false


1

Problem solved thanks to @lawlist, thank you for your time and knowledge! If Emacs quits expeditiously after evaluating (remove-hook 'kill-emacs-hook 'ac-comphist-save), then BINGO! All you need to do is find (add-hook 'kill-emacs-hook 'ac-comphist-save) in your source code files and comment it out. It's probably in a file called auto-complete.el. If you ...


1

Thanks for the fdisk and mount outputs. the difference between the two fdisk outputs is just in Units used, hence the numbers are different. The /dev/sda1 partition isn't yet resized, it's still ~20GB. You will have to resize it first, best done when booted from the CD: ~# fdisk /dev/sda Welcome to fdisk (util-linux 2.23.2). Command (m for help): p ...


1

Yes, if you want to have your guest respond to unsolicited ICMP signals, you will have to configure port forwarding for it. That said, VBox port forwarding for ICMP is pretty weak, especially when run on linux Hosts (since appearently listening for ICMP requires root, and vbox runs under standard user priv). see here for instructions and discussion on the ...


1

For your second question: add the -X (or -Y for a trusted connection) parameter when connecting with ssh and make sure you have X11 on your mac. Example: ssh -X myuser@mylinux.machine That would route your X11 windows to show on your local X server on your mac. See: ...


1

This is something you need to do at the router level rather than at OS level. Look for/read about QoS relating to your router model. Since you asked about achieving it at OS level (linux), if at all you have access to all the machines, you can use bandwidth shaping tools installed/configured to achieve something similar. You can try Trickle which I have ...


1

On a normal Linux (especially Ubuntu) install, ssh is installed by default. So, the quickest way to share a file/folder would be: Make a new user account for your friend Open root terminal cd /home/{friends-account-name} ln -s {full-path-of-folder-you-want-to-share} {convenient-name-for-your-friend} Make sure permissions of and in the folder (the original ...


1

You don't need DNS: The most trivial solution is to simply distribute a hosts file to all your computers: # /etc/hosts 127.0.0.1 localhost.localdomain localhost 192.168.1.2 orange 192.168.1.7 banana


1

No. From the man pages: sync - flush file system buffers Only outstanding write buffers are flushed. These are created when a program tries to write to a file on disk - instead of actually writing the file, the system writes it to free space in RAM, and then tells the program that the write is complete. This allows the program to continue with whatever ...


1

You shouldn't need sudo for this ssh solution. First, at the command line on the SERVER, set up a remote port forwarding from the WORK machine to the SERVER: SERVER$ ssh -f -N -R 23456:SERVER:22 workuser@WORK Then, as long as that process is running, you should be able to do this: HOME$ ssh -t workuser@WORK ssh -p23456 serveruser@localhost That is, ...



Only top voted, non community-wiki answers of a minimum length are eligible