All questions with tag [unix: linux]

0

Permission issues when doing system backup using rsync

I'm trying to backup my linux system (arch linux on a laptop) to a remote computer on the same network using ssh (or NFS). I use rsync extensively to backup my /home directory to the remote computer over ssh and NFS with no issues whatsoever. What I want to do is run the rsync command on the laptop within a script and copy all of the contents of...
2022-07-25 20:46:33
0

Why linux is a monolithic kernel, while you can load/unload modules (e.g. drivers)?

Hybrid - and also Microkernels are adaptable, in the means one can add any kind of greater - degree capability as a component, is it not the very same for linux bits? Why after that linux is called a monolithic?
2022-07-25 20:46:29
0

GlassFish/Tomcat security issue between domain users in linux server (alternate docroot issue)

Let is intend we provide to various users (customers) various domain names (one domain name for one customer) in our glassfish application web server for their job. This glassfish operates in centos 6 web server. Every customer has his customer folder in/ residence (/ home/user1,/ home/user2). Glassfish is mounted in/ usr/glassfish. and also run...
2022-07-25 20:46:18
0

Segmentation fault with dialog

I'm obtaining a segmentation fault with the adhering to manuscript when it is extra that youngster dir past the pwd. The program eliminates with the mistake message and also I need to reset the shell. As an example: I start in / and also run the manuscript. I browse to from / to /etc simply great. When I attempt to head to /etc/httpd/ that is w...
2022-07-25 20:45:52
0

How to mention rpm to look for dependent perl modules in the system

By default rpm seeks the perl components inside the rpm itself and also tosses dependence mistake if it is not located. For eg., I have a perl manuscript in the rpm that makes use of Crypt::DES perl component. I have that perl component in the system (/usr/local/lib64/perl5/Crypt/DES.pm) and also this directory site is consisted of in @INC When ...
2022-07-25 20:45:23
0

Kernel failure with software RAID-1 due to single drive read errors

I am running Fedora 19 (kernel 3.11.3-201.fc19.x86_64) with a software RAID-1 (mdadm) setup on two identical Seagate 1GB drives: # cat /proc/mdstat Personalities : [raid1] md1 : active raid1 sdb3[1] sda3[0] 973827010 blocks super 1.2 [2/2] [UU] unused devices: <none> Recently, some errors are presenting on one of the two ...
2022-07-25 20:45:23
1

embedded linux and powering usb stick

I have a trouble where I require to read a usb - stick or a usb keyboard: When I connect in the USB stick or keyboard I can not get power to the tool. dmesg claims absolutely nothing I tried: for device in $(ls /sys/bus/usb/devices/*/product); do echo $device cat $device; done for obtaining details in console and also I get this output: /...
2022-07-25 20:44:50
0

Is it possible to change the clock frequency of Wifi chip?

Is it feasible under Linux to transform the regularity of Wifi chips as an example making use of Intel vehicle driver iwlwifi like we provide for CPUs?
2022-07-25 20:44:35
0

Proper way of changing username in Ubuntu or any linux

I am making use of Ubuntu 12.04 and also made some modification. I will certainly additionally make it a new iso which is tailored ubuntu. What I intend to ask is just how can I transform my username. There are plenty much arrangement in my existing residence folder. So I do not intend to screw up with transforming username. So exists any kind...
2022-07-25 20:43:59
0

sshfs will not use ~/.ssh/config (on Linux Mint 15)

Local: Linux Mint 15 - Olivia /proc/version: Linux version 3.8.0-19-generic ([email protected]) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) ssh -V: OpenSSH_6.1p1 Debian-4, OpenSSL 1.0.1c 10 May 2012 sshfs -V: SSHFS version 2.4 FUSE library version: 2.9.0 fusermount version: 2.9.0 ...
2022-07-25 20:42:42
0

Python error after installing libboost-all-dev on debian

A close friend of mine desired the libboost collections mounted on our shared computer system so after mounting libboost - all - dev 1.49.0.1 (a Debian wheezy equipment), I get this mistake when making use of the "pydoc modules" command on the commandline. It spews out the adhering to mistake - - [email protected]:/usr/include/c++/4.7# pydoc...
2022-07-25 20:42:13
0

Does cron jobs per se represent a significant burden on a modern system?

I would love to run a rather straightforward manuscript (exists a dir with name x in dir y if so relocate to dir z-- and also x will just exist around daily) every 15 secs approximately (one min separated right into 4 * 15 secs). Does running cron work like that (where the manuscripts they run are not source extensive) have a non - neglible adv...
2022-07-25 20:41:33
0

Does modprobe.d blacklist always need the prefix "blacklist-"?

In the german Ubuntu - Wiki it claims, that the name of a blacklist in modprobe.d can be picked as prefered yet the filename needs to begin with "blacklist - ". Is that right? Due to the fact that in a discussion forum I read a blacklist was called "broadcom.conf". Will this function?
2022-07-25 20:41:15
0

ACL defaults: files vs directories

Default ACLs on a directory site are acquired by documents and also subdirectories developed under that directory site. It appears an usual need that by default subdirectories need to be executable (i.e. cd - able) yet documents need to not. Just how can I set different default (i.e. to be acquired) ACLs for subdirectories and also (youngster ...
2022-07-25 20:41:15
0

Array Cartesian product in bash

Is there a means to create cartesian item of selections without making use of loopholes in bash? One can make use of curly brackets to do a comparable thing: echo {a,b,c}+{1,2,3} a+1 a+2 a+3 b+1 b+2 b+3 c+1 c+2 c+3 yet I require to make use of selections as inputs, and also the majority of noticeable methods fail me.
2022-07-25 20:41:11
0

Disallow File IO for a process except for FIFOs

How do you start a procedure that can refrain any kind of documents IO (opening / shutting files, developing / removing files, reviewing / creating files, etc), other than to read and also contact pre - developed FIFOs? (chroot will certainly not function due to the fact that the procedure can burst out of it, yet tinkering / changing the bit...
2022-07-25 20:40:42
0

SELinux context of files mounted from a Solaris server

Something I'm trying to run in RHEL 6 falls short as an outcome of SELinux. The trouble is momentarily conveniently addressed with setenforce 0. Nonetheless transforming SELinux off totally isn't an alternative in my instance. The trouble is that these files are placed from an old Solaris equipment, and also the context of every little thing fi...
2022-07-25 20:40:35
0

Mint 15 on Lenovo G700: wired internet not working (Atheros QCA8172)

Mint 15 does not see internet after mounting it in dualboot with windows 8 (in Windows internet functions well). My network card is Qualcomm Atheros QCA8172 Fast Ethernet (rev 10). What I did: Install vehicle drivers from Update bit to 3.11.6 But it really did not deal with the trouble. Below some added details. ifconfig $ ifconfig eth...
2022-07-25 20:40:31
0

Creating directory on an external hard drive via command line (SSH) on Linux

I have tried many approaches to create a directory on my external hard drive. Here is the details when I do fdisk -l What I get: [email protected]:~$ sudo fdisk -l Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes 4 heads, 16 sectors/track, 121008 cylinders, total 7744512 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): ...
2022-07-25 20:40:20
0

No module Found error in Linux but Works fine in Windows

I am attempting to run a Program that I coded in Python in Windows setting When I am attempting to replicate the program and also running it in Linux (Debian),. It will not function, It is offering the adhering to mistake, Traceback (most recent call last): File "BlackBox.py", line 26, in <module> from BB_Files imp...
2022-07-25 20:39:36