Linux is the family of Unix-like operating systems that use the Linux kernel.
2
votes
3answers
54 views
Privilege escalation detection?
I am not a linux/unix expert but everytime when I read about some local privilege escalation exploit (e.g. this),
I wonder if an OS can detect that there is someone logging in as root (or new root ...
1
vote
1answer
43 views
Why doesn't `head -c 2 /dev/hwrng` work?
I have an Atmel 97SC3201 in my computer and set the following in the kernel:
CONFIG_HW_RANDOM_TPM
CONFIG_TCG_TPM
CONFIG_TCG_ATMEL
/dev has tpm0 and hwrng, but running this command returns the ...
3
votes
1answer
26 views
How do I change the screen font size when using a virtual terminal
Using LDXE and Ubuntu, I can log into a virtual terminal via CTRL+ALT+F1.
The text is far too small. How do I change the screen resolution to get a larger font?
0
votes
1answer
5 views
Can't pin Wheezy on Linux Mint Debian Edition (LMDE)
I'd like to have your advice on yet another pinning problem that hit me recently. I've been through man apt_preferences several times, and I can't find anything wrong in what I did.
I was having ...
0
votes
1answer
17 views
mount Linux NFS. rpc.statd is not running
I have Ubuntu 12.04 as the NFS server. The clients are Linux. My /etc/exports file has 1 line,
/folderToExport *(rw,async,no_subtree_check)
/etc/init.d/nfs-kernel-server status shows that the ...
2
votes
1answer
55 views
Is apparmor decreasing the system performance
Is AppArmor decreasing the system performance? Or it doesn't affect it at all. I have a slow system (900mhz cpu) which has AppArmor because it was installed by default I would like to know if it ...
2
votes
2answers
37 views
Running K3b from the command line
I wish to run K3b from the command line. I do not mind if it opens windows, as long as I do not have to click in them and they ultimately close.
Specifically, I wish to run k3b --copy /dev/cdrom.
This ...
2
votes
2answers
166 views
Linux: Is there a IPv6 equivalent to the IPv4 kernel option accept_local?
Since linux kernel >= 2.6.33 the kernel option "accept_local" can be modified:
/proc/sys/net/ipv4/conf/${interfaceID}/
accept_local - BOOLEAN
Accept packets with local source addresses. ...
2
votes
3answers
181 views
archive files and directories before transfer
I was wondering what is the advantage of making all the files and directories into an archive file for transfer, such as by cpio, instead of transferring them directly, such as by cp, scp?
1
vote
1answer
699 views
How to log user in to Gnome Desktop from remote ssh terminal?
I'm using CentOS 5.5 with Gnome Desktop Enironment.
By default, after system boot i get Gnome's login screen. Independently, I can log in through SSH and execute commands.
Is there any command line ...
0
votes
1answer
174 views
how to have root partition LVM for RHEL 5.8 64 bit on AWS EC2
I am new to this and I have to create a RHEL 5.8 Amazon Machine Image (AMI) in which the root partition should be a logical volume. I know how to create a data partition as a logical volume but am not ...
0
votes
2answers
32 views
Why is my Yellow Dog keyboard layout wrong? [closed]
I just installed Yellow Dog on my PowerBook G4, and it worked, and noticed my mac keyboard. Then, suddenly, the layout went wrong. Most keys don't do anything, and I have letters instead of arrow ...
1
vote
1answer
163 views
Kernel headers for VMware tools
I tried to compile VMware tools on my server. I compiled the kernel myself, I didn't use RPM. As VMware tools needs the kernel header files, I executed the following command in my kernel folder ...
1
vote
1answer
49 views
Installing debian 7 besides windows 8
I ask this question in superuser but no one can answer my question, I hope any one can help me:
I bought a VAIO laptop which Windows 8 preinstalled on it in UEFI mode. Now I want to install Debian 7 ...
2
votes
2answers
191 views
Kernel 3.3.2-6.fc16.x86_64 broadcom wireless not appearing
I'm using kernel 3.3.2-6.fc16.x86_64 and I have a Broadcom 4312.
When I run iwconfig, I get the following:
lo no wireless extensions.
p2p1 no wireless extensions.
I cannot use ...
3
votes
2answers
37 views
/sys/ documentation?
Are there any man pages on the /sys/ directory and how devices are setup? I'm hoping that there may be something similar to man proc, but cant really find anything to push me in the right direction.
5
votes
1answer
651 views
Eye-FI SD Card not working with inbuilt card reader
I am tring to get my cardreader to work with and eye-fi SD card.
My System is as follow:
#uname -a
Linux computer 3.2.0-0.bpo.2-amd64 #1 SMP Thu Mar 15 20:46:44 UTC 2012 x86_64 GNU/Linux
Debian ...
1
vote
2answers
18 views
Why is my wlan0 interface on Angstrom (Beagleboard) “Not Associated”?
I'm installing a Angstrom (custom build, not the default build) on a Beagleboard XM.
I can scan for wireless networks using iwlist and see the neighborhood wireless devices.
I have set my SSID and ...
3
votes
1answer
20 views
Can you think of a way to stop the generation of a core file WHILE it is happening?
I was just wondering if you can think of a clever way to stop the creation of a core file while it is being produced.
I understand that there are several way to disable the creation like setting ...
0
votes
1answer
20 views
Which tasks/commands can't be executed with user gid=0 but not uid=0 on Linux [duplicate]
In a Linux server I will have an user with gid=0 but it's uid won't be 0. As there are many commands with root:root and execute permissions for group I know there will be a lot of administrative task ...
2
votes
2answers
242 views
SSH connection timing out
I am trying to connect to an external host that is living in the Internet.
From my laptop I can ssh fine. From an Ubuntu 12.10 server, the connection times out.
Since they're in the same network, ...
0
votes
1answer
51 views
RedHat / CentOS 5.5 background process has restricted memory
I run Fisheye that uses Java for Linux. Settings go like this:
generate options
FISHEYE_OPTS=`$JAVACMD -Xms100m -Xmx200m -cp $FISHEYE_HOME/fisheyeboot.jar com.cenqua.fisheye.boot.OptsSetter`
build ...
0
votes
2answers
56 views
Undestanding the output of route -n
Can someone explain me what the out put of route -n?
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 ...
0
votes
1answer
153 views
ZFS on Linux gets corrupted on export
I just started experimenting with ZFS on Linux. I use Sabayon Linux with kernel 3.8. I used a whole single USB disk to create a pool. I tried to do only the basics
zpool create -f testing ...
2
votes
1answer
36 views
Can you create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned?
I would like to know if it is possible to create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned?
This will be used on RHEL 6 which does include thin ...
3
votes
1answer
21 views
stat on an encrypted volume in osx takes a long time
My workstation is a MacBook Pro with an SSD. For security reasons, my main volume is encrypted.
I ran this command on a folder:
time find . -exec stat {} + >/dev/null
real 0m5.205s
user ...
1
vote
0answers
26 views
Why my linux does not detect USB storages at runtime? [closed]
I have an embedded system with Linux kernel v3.0.35 and Busybox v1.20.2.
If I plug a USB flash drive in before starting the operating system the boot process mounts it to the proper place, with the ...
5
votes
0answers
23 views
How do pdflush, kjournald, swapd, etc interoperate?
Recently saw a question that sparked this thought. Couldn't really find an answer here or via the Google machine. Basically, I'm interested in knowing how the kernel I/O architecture is layered. For ...
2
votes
0answers
14 views
BCache and disk encryption
I recently bought a new laptop with a 16Gb mSATA SSD cache drive. I haven't used that one yet.
I have, however, opted for Ubuntu 13.04 with "Full Disk Encryption" for the main partition (is that ...
-1
votes
0answers
15 views
How to install flash in fedora for firefox with rpm [closed]
when I installed it to this step in the official readme guide:
Installing the plugin using RPM: o As root, enter in terminal:
+ # rpm -Uvh <rpm_package_file>
+ Click Enter key and follow ...
1
vote
1answer
54 views
restore filesystem after fdisk
I split a partition in two with fdisk, but after rebooting I've got partition in FAT filesystem (was ext4). What's can be wrong? And how to fix it or get data from bad partition? I hope this is ...
0
votes
1answer
31 views
Identify Tasks/Process which are 7 days old in linux
How can I identify the processes running since 7 days in Linux?
3
votes
1answer
1k views
How do I configure OpenVPN as a Gateway client for Witopia?
I have the following setup:
Witopia SSL account
Synology 409 NAS (with OpenVPN and Apache etc)
PS3
Mac
Apple AirPort router (configured for NAT)
Locked IPT-box (using DHCP and NAT traversing)
-
...
2
votes
1answer
31 views
Boot up problem with RHEL 6
I restarted my RHEL 6 box and now I can't get past the logo screen. I tried booting without the splash screen so I could see what's going on, and I'm getting an error message saying something along ...
26
votes
2answers
1k views
Why does a software package run just fine even when it is being upgraded?
Say I am running a software, and then I run package manager to upgrade the software, I notice that Linux does not bring down the running process for package upgrade - it is still running fine. How ...
-1
votes
0answers
22 views
How should I proceed with transfering sites from external hosting to in house? [closed]
I'm a mix of both a sysadmin and developer. In my job we current host around 50 sites across 15 servers with external companies. Now my manager wants them in house , with new servers and virtual ...
3
votes
1answer
243 views
How to run long time process on Udev event?
I want to run a ppp connection when my USB modem is connected, so I use this udev rule:
ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="16d8",\
RUN+="/usr/local/bin/newPPP.sh $env{DEVNAME}"
...
-2
votes
1answer
40 views
GParted doesn't recognize the unallocated space after my current partition
I'm using GParted to resize my partitions on Linux. There is about 5GB of unallocated space following the partition sda5. However, when I right click on sda5 and select 'resize/move', it doesn't show ...
8
votes
4answers
646 views
Why is Perl installed by default with most Linux distributions?
Just curious. The title says it all: Why is Perl installed by default with most Linux distributions?
1
vote
0answers
39 views
Why does this code work on Linux but not on SunOS? [migrated]
#include <stdio.h>
int main() {
char *str = "11111111-22222222 r-xp 00000000 00:0e 1843624 /lib/libdl.so.0";
unsigned long long start_addr, stop_addr, offset;
char* access = NULL;
...
1
vote
3answers
81 views
download packages for different distribution with apt
I want to download a .deb package with it's dependencies for a different distribution.
I have many Linux systems in my company: Ubuntu 11.04, 11.10, 12.10, and Debian 5 and 6.
The command to ...
1
vote
1answer
63 views
How to access u boot environment from linux?
How can I access and change the u-Boot env variables in linux. Using the u-boot/tools/env directory in u boot directory:
u-boot$ make env
Which created the executable file fw_printenv. I copied ...
1
vote
3answers
44 views
List all files in a directory recursively but exclude directories themselves
Simple question, I'm running the following find command:
find . -type d \( -path ./.git -o -path ./log -o -path ./public -o -path ./tmp \) -prune -o -print
To list all the files in my directory, ...
5
votes
4answers
841 views
Lightweight isolated linux environment
I want an isolated (guest) Linux environment on my computer that I can mess up without worrying about the host. E.g. install a lot of stuff from source without package management, pollute environment ...
1
vote
1answer
63 views
Regex to Cisco Interface
I would like to know if have some sed, grep or awk regex to parse Cisco interface section and exclude if interface is down (shutdown), like example below.
Example:
!
interface FastEthernet0/1
ip ...
0
votes
2answers
77 views
How to create as many variables as needed from shell script(bash)?
I'm making a script for monitoring some user processes with Upstart but, since its for the company I work for, they asked me to do it generic...how's so?
Well, the number of processes being monitored ...
2
votes
1answer
59 views
How to write a script to read wifi SSID and password from USB drive at boot up and auto logon to wifi network
I have an embedded system that is running Debian. I want to be able to provide wifi network SSID and password information via a USB thumb drive. That way I can easily deploy it to any wifi network.
...
1
vote
1answer
30 views
Measurement of free ram through /proc/meminfo with ramdisk (initrd)
I am booting a disk image via PXE, it is a full system on an initrd ramdisk. I would like to measure the actual free memory of the system (not including buffers and file system caching). I was told ...
38
votes
9answers
21k views
SSH easily copy file to local system
If I'm logged in to a system via SSH, is there a way to copy a file back to my local system without firing up another terminal or screen session and doing scp or something similar or without doing SSH ...
3
votes
2answers
102 views
How to report back system installation progress
I'd like to do some reporting from the system setup progress for virtualised (libvirt/kvm) Ubuntu servers. I expected some kind of such system to already exist out there, but couldn't find anything. ...


