A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

1
vote
1answer
801 views

Is there a way to change a Linux Live USB (xubuntu 13.10) to save changes? (persistence)

I wasn't able to install Linux as a bootable operating system from my USB sticks (8 GB, PNY USB 2.0), so I put the live version on instead. I was wondering, if now after having installed some things ...
2
votes
1answer
555 views

How can I set path for non-interactive user authenticated using LDAP?

On a Mac running OSX 10.7.5, I need to set the PATH for non-interactive users who connect via ssh and are authenticated using LDAP. It's the same question that was asked (and answered) here: ...
1
vote
4answers
2k views

Linux on external drive / UEFI

I'm stuck on a problem : I want to make my external USB3 HDD self bootable. For now I must go through UEFI boot option. Explaination of my setup: I have a Win8 Asus Laptop with UEFI. I have ...
2
votes
1answer
282 views

Traffic not being forwarded through NAT

I have a router which provides internet access using NAT, and a client Linux box (A) which is connected to this router on eth0. This Linux box also has a wlan interface, wlan0; what I would like is ...
0
votes
1answer
123 views

SSH with keys not working on service, but does work on demand (ossec agentless)

I'm trying to set up SSH authentication using keys (for OSSEC agentless monitoring). I have generated a key file on the calling server using su -u ossec ssh-keygen. I copied the public key ...
1
vote
0answers
360 views

logitech wireless devices not recognized on Debian

I have a unifying receiver for mouse and keyboard. I am using Debian Wheezy on Asus UX31A. The devices are recognized and working during boot and also in grub menu. Once I get the Debian log in ...
0
votes
0answers
55 views

Rsync delete issue

I implemented rsync to backup the data from the server to my local machine,and done it regularly by cron. It works fine but yesterday it deletes the files from the folders on my local machine but on ...
2
votes
1answer
16k views

How to forward packets between two interfaces?

My laptop (use's Ubuntu 13.10) is connected to internet using a wired connection at eth0 with ip 192.168.42.13 and it also acts as a wifi hotspot at wlan0 with the ip 192.168.1.1 (i used airbase-ng to ...
1
vote
2answers
134 views

What are the risks of running a software RAID 1 array in degraded mode?

I'm replacing my workstation's system drive and would like to in the future be able to easily add a second drive to form a proper (although software) RAID 1 mirror. For the time being, however, I'm ...
0
votes
2answers
116 views

Why execute permisiions along with write permissions needed for creating file in c(Linux)?

I am trying to create a file from my c source code on linux. I am using dd command for reading from a file and writing in to a file by creating there. If i don't have execute permissions(I have write ...
0
votes
2answers
279 views

Ubuntu 12.04: getting a list of packages that have updates

Is there a way to get a list of available updates to a file in Ubuntu 12.04? I need this in order to review the update list before making the update so if something goes wrong I have at least some ...
0
votes
2answers
363 views

How to configure and access both local and remote versions of same website/domain?

I am working on a client's website which is currently hosted on an external remote server. I downloaded a copy of the site to my local computer, which is running a 'LAMP stack' set up on Arch Linux, ...
1
vote
1answer
153 views

Using external (RAID) HDD for new operation system

I have a question about using a RAID HDD setup on a laptop. My laptop is very nice (intel i7 Haswell, 20 GB 1600 MHz, 3 GB dedicated GPU) but my HDD are slow (2x1TB 5400 RPM) and even worse - they ...
1
vote
0answers
97 views

Directory and segments in Multics operating system

In Multics OS there are different access rights in the access control list for segments (execute, read and write) and directories (status, append and modify)(book). How do segments correspond to ...
4
votes
1answer
2k views

Why am I suddenly unable to write to this sshfs volume?

There is a remote server which I connect to daily through ssh. I do a lot of editing of files on the server, so I use sshfs to do so. I mount the directory with $ sshfs user@host:/var/www/html ...
1
vote
1answer
71 views

How does one permanently disable GNU/linux networking?

How would one make it impossible for Ubuntu 12 to talk to the network, even though there's a network card present (which may have a cable plugged-in)? I found this answer which advocates removing the ...
1
vote
1answer
309 views

RDP from *nix to Windows using a PEM file

I am trying to connect to an AWS Windows server using a .pem file. While I normally use Remmina to connect to Windows systems I manage, I haven't found an option for adding a key file. Is there a way ...
-1
votes
2answers
90 views

mounting drive on remote location using sh command

What does the command sh mount_drive.sh means? I am trying to mount a drive located at a remote location onto my server using the above command. Previously it worked fine but now it is giving an ...
1
vote
1answer
403 views

Change VPN password from Linux client

I connect to a VPN using NetworkManager on Linux machine. Username/password are those used as Windows credentials. I want to change the password. In the IT department they say that from Windows it ...
1
vote
0answers
83 views

VMware Virtual Machine recover files without mounting

I transferred the directory with my VMWare Virtual Machine Linux Mint to a new harddisk. I didn't know that I had to change the directory path in the VMware settings, so I couldn't mount my Virtual ...
1
vote
3answers
2k views

Winbind group lookup painfully slow

I am running winbind on an RHEL 6 system. Everything works fine except group lookups, so many commands (including sudo) are painfully slow. I did an strace which shows that winbind looks up every ...
0
votes
1answer
366 views

Pause SSH Session

I have long running processes that I just kick off. I create ssh and long-in into ssh session and create multiple screens and run all the programs and detached using (ctr + A + D). But when i resume ...
0
votes
1answer
2k views

Ubuntu: Tomcat upstart script. Logs end up in upstart log

I have a simple upstart script for tomcat. Here is the chef template: description "Tomcat Server" start on runlevel [2345] stop on runlevel [!2345] respawn respawn limit 10 5 # run as non ...
0
votes
1answer
1k views

Not able to activate tagged vlan on Debian Wheezy

I'm not able to get tagged vlan running on my box. Any idea? $ ip link add link eth0 name eth0.666 type vlan id 666 $ ip addr add 10.10.10.10/24 dev eth0.666 I don't get any failure but interface ...
1
vote
1answer
110 views

Pre-compiled command line input in zsh

I recently set up a ubuntu 12.04 64 bit machine. I use tmux with many open windows, all of them use zsh as shell, some of them through a chroot environment that uses the same home folder of the normal ...
0
votes
3answers
283 views

Is it possible to boot up the system without GPU and use it as server?

I have a laptop and it has black screen , i tried BIOS flashing with usb, tried to fix the GPU but nothing, It start with just black screen, no BOOT is initialized at all since the keyboard doesn't ...
1
vote
1answer
321 views

How to prefix every command in shell with “sg - grp -c”?

I am using bash shell. I want to run all commands of a specific user to be run as a specific group command in the shell. How can I do it? Can anything be can be done in ~/.bashrc ?
0
votes
1answer
114 views

Can't get code to run on startup in init.d file

Been working at this for literally over 4 hours. All I'm trying to do is get the following code to run at startup: IP_ADDR=$(/sbin/ifconfig eth0 | /bin/sed -rn 's/^.*inet ...
1
vote
0answers
38 views

How to use LVM to separate large data?

I have an ultrabook with two discs, an HDD with 500GB and an SSD with 32GB. My SSD is partitioned for /boot, / and /efi, and my HDD is for SWAP and /media/userdata (mainly, media). I was thinking of ...
0
votes
1answer
57 views

Is it possible to create ondemand data by opening a file?

I would like to stream my Desktop with DLNA to my TV. With ffmpeg I am already able to save a video of my Desktop in a file: ffmpeg -framerate ntsc -video_size 1360x768 -f x11grab -i :0.0 ...
0
votes
0answers
617 views

Remove Windows Driver from Linux

I have a dual boot system with Win7 and Linux. After my install, Windows attempts to boot in safe mode but fails at a driver. It's the AMD video card driver. How do I uninstall a driver for Windows ...
0
votes
1answer
343 views

RAM size mismatch: top/htop vs dmidecode

I've got lenovo ideapad Y530. According to dmidecode, I should have 3GB RAM: tomasz@tomasz-lenovo-ideapad-Y530:~$ sudo dmidecode --type memory [sudo] password for tomasz: # dmidecode 2.9 SMBIOS 2.4 ...
1
vote
0answers
54 views

How to find out whether a specific mounted Linux file system is located on a encrypted device?

How can I find out via the command line whether a specific mounted file system in a Linux system is ultimately located on an encrypted device? Of course, a generic solution would be nice, but ...
0
votes
1answer
147 views

What's the file format of the output of mkfs.jffs2

I am creating a file partition with the following command: sudo mkfs.jffs2 -l -n -p -q -e 0x20000 -s 0x800 -d image/ -o sdcard/root/rootfs11182013.ambr.jffs2 I understand the commands and flags ...
3
votes
1answer
1k views

Syncing a CardDav Adressbook with Thunderbird SOGo Connector

I'm using thunderbird/lighting for several mail accounts and calenders under Ubuntu in the Gnome3 Desktop. I also want to sync my CardDav adress book. Right now I am doing that with Inverse SOGo ...
0
votes
1answer
549 views

Iptables filtering and NAT with secondary IP address

I have two IP addresses on my physical eth interface. Lets say 192.168.10.7 (eth0:0) and 192.168.0.7 (eth0). So it works. But I use application, working on the only one of this addresses on port ...
0
votes
3answers
142 views

Where to find / create an image / iso suitable for anonymous browsing in a VM

I'm looking for (as close as I can get) to a KVM or Virtualbox compatible system image I can run which will give me a basic desktop - by basic I mean contains only the minimal requirements for a web ...
1
vote
1answer
363 views

Internet connection not working with Linux OS

I am using a D-Link GLB-502T router at my place which provides me with a cable with an RJ-45 plug. I put this into a D-Link DIR-605L Wifi router to access internet wirelessly. All is fine till I am ...
4
votes
1answer
4k views

Can ping/ssh through LAN but not with Wi-Fi

I have bought a new D-link Wi-Fi modem recently, and I have connected one Linux system through LAN and another system through Wi-Fi. I can't ping the host which is connected to the LAN from the Wi-Fi ...
2
votes
2answers
105 views

Automatically creating a particular screen setup on startup

Here's my problem : I have a particular setup with screen that I like to launch on startup, to quickly have access to several programs I use often. Here's an example : screen -U -S test -t shell ...
5
votes
1answer
2k views

How can I play audio and video streaming in Firefox?

I've seen couple of sites that stream audio to my browser like SoundCloud and Grooveshark, but Firefox doesn't reproduce them in Linux. How can I reproduce these streams? The console gets filled with ...
0
votes
1answer
231 views

Disabling smtp authentication for local mail on same domain

I am very new to smtp and am looking for something to deal with the current situation: I have several servers running really old software (music automation) and they all need to report in daily via ...
0
votes
3answers
334 views

\ key on a QWERTY UK keyboard

I wanted to know what other programmers do on laptops that do not have a \ key. I have a dell XPS13 ultrabook, which is also sold as a developer edition. Now this keyboard, has US layout, but I ...
2
votes
2answers
6k views

Installing VMWare Player on Kali linux

This question has changed drastically since the first time I posted it, so I have deleted the old content. I downloaded the latest version of VMWare player and when I try to install it I get the ...
0
votes
1answer
33 views

Backup apps on Linux after a certain date

Is there a way to back up applications installed after a certain point in time? Example: I would like to back up all the applications that have been installed within the last month. Is this ...
0
votes
1answer
424 views

“Not Authorized” when using Tigase XMPP with selfsigned certificated and Pidgin

I've installed Tigase XMPP server; I also created a self-signed certificate for the server. After installation I set the --ssl-container-class=tigase.extras.io.PEMSSLContextContainer option in the ...
14
votes
3answers
22k views

Linux : To monitor a Service and restart if stopped?

Actually I'm not so sure whether i should use Shell Scripts, or if there some ways already. But whatever approach we use, i would like to keep a Service running all the time. Let's say iptables as an ...
0
votes
1answer
888 views

omxplayer/ffmpeg error max_analyze_duration 0 reached at 0 microseconds

I have encountered an error with omxplayer that's usually an ffmpeg error When I issue the command omxplayer -info movie.mkv I get the following error: [matroska,webm @ 0xbc9450] ...
2
votes
3answers
23k views

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

So at first I was getting this error when trying to create databases for use in phpmyadmin. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I ...
0
votes
0answers
188 views

Installing openJDK7 on Debian 7.2

I want to install OpenJDK 7 on Debian 7.2 using apt-get; but apt-get shows too much dependency for this package: acl ca-certificates-java colord consolekit cryptsetup-bin dbus dbus-x11 ...