0
votes
0answers
5 views

Preventing user from accessing parent folders

I have a user who I only want to be able to access /var/www/ucp/ (his home directory). I have executed the following command on the / directory, the /var/ directory and the /var/www/ directory: chmod ...
-2
votes
0answers
6 views

How to tell xargs to unpack tar into certain directory

I wrote my first script which goes: find /media/temp/test -type f -printf '%T@ %p\n*.tar.gz' | sort -n | tail -1 | cut -f2- -d" " |xargs tar -xvpf I would like to find latest modified file which is ...
0
votes
0answers
13 views

I overwrote OSX with Linux by accident

So here is what happened. I installed Ubuntu onto a flashdrive hoping to be able to dual boot Linux/OSX. I burned Ubuntu onto the flash drive on my desktop PC (windows 8.1) with universal USB ...
4
votes
1answer
12 views

what's the difference between page cache and buffer cache?

In linux OS, you can type command "echo 3 > /proc/sys/vm/drop_cache" to release memory, and you can type command "sync" to release the memory. And in linux kernel there are two kind of cache, one is ...
-2
votes
0answers
12 views

Reverting Back to Windows 8 [on hold]

I want to return to Windows 8 as my OS to replace the latest version of Linux Mint 17 I am currently using. Can anyone help? Computer info: CPU~Quad core AMD A10-5745M APU with Radeon HD Graphics ...
0
votes
0answers
3 views

Thruk installation “failed to open socket”

I am extremely confused, and Google isn't really helping. Also, I'm kind of a Linux novice. I've taken a couple of classes, but that was all about how to configure things in a basic Linux setup. I'm ...
0
votes
0answers
3 views

Solaris 10 and 11 and nfs mountd port

On Linux and hpux i easy set mountd port editing /etc/default/nfs or /etc/nfsmount.conf On solaris i try to edit default/nfs but no success and mountd use random port. How to force mountd port? ...
0
votes
1answer
3 views

How do I get linux-gate.dso on a newer linux system?

I would like to find out which method my 32bit QEMU guest is using for system calls. There's an excellent article explaining linux-gate.dso (http://www.trilithium.com/johan/2005/08/linux-gate/). ...
0
votes
0answers
3 views

Fan issues with Asus vivobook running Xubuntu 14.04

So I am not fully sure when my fan stopped working but since it stop my computer has been running very hot and very slow once it got to higher temps. Last night I made the mistake off forgetting to ...
1
vote
1answer
24 views

Generic shared resource locking techniques - is flock the solution?

I need to implement a locking scheme so that multiple processes can share a set of resources, while a "special" process can obtain exclusive access to that set of resources. These are batch ...
0
votes
0answers
8 views

Installing Restund on AWS EC2 Ubuntu

I have successfully installed Restund on a Vagrant Machine running Ubuntu. But when I tried to install it on AWS EC2 Instance running Ubuntu, I get an error when starting Restund. Error Message: tls ...
0
votes
1answer
15 views

Backup and then wipe partition table from head of drive

I have a NTFS hard drive internally attached to my computer and it's causing problems with the other Windows installation on my dual (or triple?) boot machine. I'm not sure if the partition scheme is ...
0
votes
0answers
4 views

problem in installing ejabberd 14.07

i installed ejabberd 14.07 from source code on debian7 according to below url: http://www.process-one.net/docs/ejabberd/guide_en.html . i create admin account successfully but i can't access web ...
0
votes
1answer
23 views

.sh script (expect) to scp a folder via proxy

I want to make a .sh script to upload an entire folder to a server via ssh (with a proxy in between). I was thinking on using something like expect. But I couldn't even copy the files yet. The info ...
1
vote
0answers
5 views

(S/D)NAT over NF hooks

Could someone help on explaining the advantage of iptables NAT over the netfilter hooks. Say suppose, instead of using NAT if we create custom kernel module to bind handler with netfilter for PRE/POST ...
1
vote
0answers
16 views

Safe way of letting users upload their public keys

I need to let untrusted users, strangers, upload their id_rsa.pub to my server and onto a given user's authorized_keys (user git in my case). What is the safest way of achieving that, without having ...
1
vote
0answers
15 views

Fedora 21 won't boot anymore; Computer wants me to perform MOK management

I have Fedora 21 installed. Last time it booted, I changed Gnome theme. Then I restarted and now I get following: If I select to continue boot, computer restarts and I get this window again. If I ...
1
vote
0answers
5 views

Compiling a kernel for Gentoo with my module list from Xubuntu

A while ago, I started installing Gentoo on my Xubuntu box, using a chroot from Xubuntu, following these guides: https://wiki.gentoo.org/wiki/Handbook:AMD64 ...
0
votes
0answers
7 views

How to create dual mode usb liux, bootable and startable directly from a Windows OS as virtual machine

I have found many tutorials about create a bootable live Linux image, but I whant to create a very particular USB-linux pendrive that allows me -to boot Linux image using the native harware if ...
2
votes
3answers
34 views

Is there some built-in (bash/gentoo) function to provide well-readable output to the user?

I am using the following simple function to provide some well readable output to the user. Now I am wondering if there is some kind of (gentoo-/bash-) built-in function to accomplish this task, as ...
1
vote
0answers
11 views

Apt broken after upgrading python on 14.04 - No module named 'lsb_release'

I recently needed an updated version of Python3 for a project, so I built it from source; and I believe I made a bit of a mess. All apt based operations now end in an error here: (Reading database ...
0
votes
0answers
13 views

Distro similar to Porteus but Debian based

I have find a very interesting light linux distribution that allow me to customize the included features downloading the iso that match with my needs (Porteus) Unfortunately this distro is based on ...
2
votes
2answers
84 views

How to deny mounting permission?

Consider the following situation: /dev/sda1, /dev/sda2, /dev/sda3 are 3 partitions of the /dev/sda disk. Ubuntu is installed on sda1 and /home mounted on sda2. Only one user foo on Ubuntu system so ...
2
votes
1answer
33 views

Right way of running a root task/program at background

I'm writing a program that needs to run at the background as root. (for any user) To do this I used the /etc/rc.local file. And it seems to work. The problem that I am experiencing is, when a ...
2
votes
0answers
12 views

Make a request through vpn interface

I want to be able to make request through a specific network interface, like this: ping -I eth0.1 google.be ping -I eth0.2 google.be This example works on my multihomed OpenWRT router. I now want ...
1
vote
1answer
18 views

Cannot create new zpool

I'm working on creating a ZFS zpool and I'm getting the following error: # zpool create main_zfs raidz2 /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh /dev/sdi /dev/sdj /dev/sdk /dev/sdl ...
0
votes
0answers
6 views

libvirtd and filtered ports

I am new to virt-manager. After having configured a virtual network (new interface virbr0) with 2 VMs that should be able to communicate, I discovered that most ports are filtered. For example, the ...
-1
votes
0answers
15 views

How does x windows server and kde\gnome\etc. work [on hold]

I'm looking for info about x server and desktop environments, how do they work. this is for development purposes thank you.
0
votes
0answers
8 views

ipmitool set idrac mode

I have a DELL server R610, on this server there is a RHEL 6.4 This server has an idrac entreprise. I would like to configure the idrac from command line, avoiding reboot. I read on the man page of ...
5
votes
0answers
40 views

How to show line numbers in vim on the right side of the buffer?

I have set nu in my .vimrc which shows line numbers on the left side of current buffer. I would like to see line numbers on the right side. How to achieve this? UPDATE: This should also work for set ...
2
votes
2answers
51 views

How to find a specific file and move it to a specific directory?

How to find a specific file, and move it to the specific directory /var/tmp? For example I want to find the file 0914_Jul-2014.gz. Remark, the file 0914_Jul-2014.gz, is under ~300 subdirectories: ...
1
vote
0answers
16 views

Can't open Natron on Ubuntu?

I have tried to install and use Natron Softaware for Ubuntu, but when it finished install, it didn't open and show a message Missing OpenGL requirements Please, see the pic How can I fix it?
2
votes
1answer
17 views

HISTTIMEFORMAT syntax

There are many bash guides that include adding lines such as HISTTIMEFORMAT='%d/%m/%y %T ' or HISTTIMEFORMAT="%F %T " to ~/.bashrc or /etc/bash.bashrc. There's always a space before the final quote. ...
1
vote
0answers
4 views

Is there a way to set a window as “Always on bottom” in Cinnamon?

I've recently moved from Ubuntu to Mint and have really enjoyed it so far but one feature that I miss from compiz is the ability to set a window as "always on bottom" (i.e., the opposite of always on ...
2
votes
3answers
126 views

How to change dir to the last directory?

I have very long directories list, like /dir/dir/dir/../../../../../../../../../.. ../../ ../../last dir Is it possible to change to the last dir immediately?
0
votes
0answers
20 views

Issue running Python script via cron inside Docker

I have an official Ubuntu 14.04.1 container running via Docker. cron is working fine, I added * * * * * /bin/echo "working" >> /test to my crontab using crontab -e and then I started cron with ...
5
votes
5answers
198 views

vi commandline, goto line and column

I have been mixing the use of emacs and vi (vim) for a long time. Each of them has its advantage. I parse error output from a compilation like process and get a line and column number but I can only ...
2
votes
1answer
10 views

virt-manager: is it possible to assign specific IP addresses to certains VMs via the virtual DHCP?

using virt-manager quite successfully. I am wondering if it's possible to specify in the virtual DHCP server, that some virtual machines will have a specific IP address (maybe via MAC address ...
0
votes
0answers
8 views

Missing status icons in message/system tray

Some of my apps (such as Insync and Viber) do not show icons in the message tray (GNOME, Fedora 21). I can interact with them trough mouse clicks, but without icons it's difficult to tell if the files ...
1
vote
0answers
19 views

X won't start on its own after kernel update [on hold]

I built a Fedora 20 home theater pc following the Fedora 20 nVidia Drivers Install guide. It did work well. However after yum update all ( in which the kernel was updated to 3.17 ) the machine boots ...
2
votes
1answer
15 views

Midnight Commander config dir location startup option

if you run mc -F you'll see there are [System data] config directory and [User data] config directory [System data] Config directory: /etc/mc/ [User data] Config directory: ...
1
vote
1answer
18 views

Will I receive critical security updates if I lock CentOS yum to a specific repo version?

We run Citrix XenServer as our virtualisation platform. Presently we're right up to date with our XenServer service packs and hotfixes i.e. we're running XenServer 6.2SP1 with the SP1015 update ...
0
votes
1answer
18 views

Custom Kernel to Disable SATA and USB Devices

I am setting up diskless clients that will run on an internal network. I have disabled SATA and USB ports using a BIOS locked with a password, but this is easy to get around by using the jumper to ...
0
votes
1answer
15 views

'htop' process and threads cpu usage?

I'm observing a multi threaded process in htop in tree view. If I were to strip it just to the problematic part, it looks somewhat like this: CPU% bin/process 100 `- ...
0
votes
0answers
11 views

Checking if a mail has arrived, if not then alert

I am using fetchmail in combination with procmail for mail filtering on CentOS where my mail contains various log messages. They serve me so i could search through my mail(logs) for error strings. So ...
0
votes
0answers
9 views

How do I prevent SD card from dismounting when suspended?

I have Android Studio installed in my SD card. When it's running and the system is suspended, java starts throwing a bunch of I/O error. Is there a simple way of disabling this so that the SD card ...
1
vote
0answers
16 views

Linux Bridge Network with Static IP Addresses and Firewall

any and all help is appreciated. I am trying to set up my Network Map Can you give me advice in setting up my interface file? If I set a static IP on my PLC on the same gateway, I shouldn't need to ...
0
votes
1answer
9 views

sudo rule with placeholder

i want to allow the use of /usr/sbin/ufw for a special user. But only for a given command: in my /etc/sudoers file i have now (for blocking IPv4 addresses): blockuser ALL=NOPASSWD: /usr/sbin/ufw ...
1
vote
1answer
9 views

creating a custom service on ubuntu

I am setting up an ap called scumblr (https://github.com/Netflix/Scumblr/wiki) The final step calls for initiating the server using the following 3 commands: redis-server & ...
4
votes
0answers
19 views

Dump network traffic of single application (strace-like)

I'm looking for a way to dump pcap of network data generated by an application, in a simmilar way strace dumps syscalls, etc. eg: net-strace somecommand -args somecommand would do something over ...

15 30 50 per page