0
votes
0answers
6 views

Script or command to replace default parameters in /etc/user on AIX

I wanted to change the parameters settings in /etc/security/user file in AIX OS using a script. This is the sample user file. default: admin = false login = true su = ...
4
votes
1answer
21 views

Require private key for sudo

For added security, I would like to require a private key to use sudo on my Ubuntu Server box. I've added private key authentication for sudo as described at ...
1
vote
0answers
9 views

Use rsync to just get a folder and it's content with a pattern

I've looked all around the internet, looked in regexp sites and everything else, but I'm unable to write a rsync command to fetch what I want to. I need to mirror the FreeBSD release, but I don't ...
1
vote
0answers
6 views

CentOS 5 - hdparm - how to set DMA mode

I'm running CentOS 5 with a PATA hard drive. I've used hdparm to tune the hard disk for better performance, but there are 2 settings that don't work: hdparm -M 254 /dev/hda gives the error ...
0
votes
0answers
4 views

Setting up apache axis client on centos

I have below codes. import java.util.*; import java.io.*; import java.net.URLConnection; import java.net.MalformedURLException; import org.apache.axis.client.Call; import ...
0
votes
0answers
11 views

Apt-get Command not found for OpenDaylight

I am using OpenDaylight Ubuntu Mininet, when I want to do a sudo apt-get install it tells me Sudo: apt-get: command not found Here is the official code. [mininet@opendaylight ~]\>sudo apt-get ...
2
votes
3answers
20 views

What does [converted] mean at the bottom of vim?

I have a log file, and when I open it via vim, it looks not readable, and it has [converted] at the bottom. What does [converted] mean? Is there a way to fix the format issue so that it is human ...
0
votes
1answer
6 views

Difference between maximum resident set size as reported by /usr/bin/time vs. getrusage?

I ran the command a.out like this: $ /usr/bin/time -f"%M" ./a.out a.out also uses the function getrusage() and prints: printf("%ld",ru.ru_maxrss); where the first ru is the struct. When I run ...
2
votes
1answer
15 views

Downgrade PHP 5.4 -> 5.3 on CentOS 5.10

Due to being in some dependency hell and some issues with PHP 5.4, we downgraded from PHP 5.4 -> 5.3. Since doing so, a few of our web apps are acting strange. E.g: # php index.php Results in: ...
0
votes
0answers
5 views

TokuDB fails to load in MariaDB, even when transparent hugepages are disabled

Earlier, I upgraded my website server to Ubuntu 14.04 LTS. I had a very nice setup with MariaDB and the TokuDB engine. However, the setup was kind of messed up when TokuDB refused to load properly, ...
7
votes
2answers
100 views

Practical usage of `set -k` option in bash

When do we use set -k option in bash? Bash reference manual says, All arguments in the form of assignment statements are placed in the environment for a command, not just those that precede the ...
0
votes
0answers
7 views

RPM distros like Fedora cause a strange white screen issue :S

okay so I love distros like Fedora and I want to use it so I am on a professional distro that is fairly up to date and requires low maintenance, hence Fedora (I hear its the most bleeding edge? Is ...
0
votes
3answers
56 views

Open a terminal with a login prompt

I want to open a terminal (xterm, gnome-terminal, tilda, whatever) and have it prompt for a username and password to login as. I thought this would be simple but all my Google results are polluted ...
3
votes
1answer
22 views

When would you use pivot_root over switch_root?

I'm wanting to understand the Linux init process better in order to netboot a system over ceph rather than nfs. In the process I've come across two forms of switching root. One called switch_root, ...
2
votes
2answers
50 views

External hard drive permissions - ext4

I have an external USB 3 disk drive (2TB capacity) that is most likely going to be moved from machine to machine. The disk has a GUID partition table and an ext4 partition. I am unable to write to the ...
2
votes
3answers
115 views

How can I split a text file based on the content into multiple text files?

I have a text file called CAMS.txt that contains the following: 4153999999999991 4153999999999992 4153999999999993 4153999999999994 4801999999999991 4801999999999992 4801999999999993 I would like ...
2
votes
0answers
8 views

How to actually test locale

So I know what locale does. Sets the output format of certain programs depending on what country/language you're in, for example 1000000 can be formatted like 1,000,000.00 1 000 000.00 1.000.00,00 ...
3
votes
1answer
18 views

Apropos always returns several duplicate matches from whatis

When I run apropos or man -k in bash, it always returns the same item (at least one) twice: Question Why is it doing this; and would it indicate that there's a possible configuration issue with my ...
3
votes
1answer
10 views

What information can I find out about an eventpoll on a running thread?

Following on from a problem described in "How is it that I can attach strace to a process that isn't in the output of ps?" I'm trying to debug a process that hangs part way through. By using ...
-1
votes
2answers
31 views

Split files and rename the files

I need to split a large file into 5 pieces and rename them. For Example, file Test needs to be split into Test1, Test2 & Test3. However, the split command splits as xaa,xab,xbc.
1
vote
0answers
7 views

Cygwin serial tty device for high-numbered COM ports

My hardware enumerates as COM125 on the device manager (CDC-ACM class). But, I can't find it under /dev/tty* listing. Does cygwin have a limitation on CDC-ACM class of com ports or numbers greater ...
2
votes
0answers
11 views

Apache install on Debian: configuring CGI

I installed CGI via the package manager and enabled the mod, but two hours later I still cant get it to work. My /etc/apache2/sites-available/default is: <VirtualHost *:80> ServerAdmin ...
4
votes
1answer
21 views

How can I add sudo permission for copying?

my sudoers file: cat /etc/sudoers ... USERHERE ALL = NOPASSWD: /bin/cp /home/USERHERE/foo/in.csv /home/anotheruser/in.csv ... it looks OK too: USERHERE@notebook:~/foo$ sudo -l Matching Defaults ...
0
votes
1answer
54 views

scp to Local Machine After SSHing [duplicate]

From my local machine I can copy files from a remote machine scp remote:/some/file/path ~ But what if I'm already SSHed into the remote machine? Can I do something like this ssh remote cd ...
1
vote
1answer
12 views

SCSI additional sense codes meaning?

I'm developing a SCSI target software (and I'm new to SCSI) and I need to return correct sense data to tell initiator, that its request didn't go through because data were protected from writing. I'm ...
3
votes
1answer
72 views

Help writing bash function as one-line alias

How do I write this as an alias? p() { DIR=~/projects/$@ pushd "$DIR" } This is as far as I got, but it's piping stdin to pushd instead of xargs: alias p="xargs printf ~/projects/%s | ...
4
votes
1answer
80 views

How to reset password on an encrypted fs?

I've got a laptop which I haven't used since the last summer vacation: I did put Debian 7 on it and used Debian's feature to fully encrypt the disk, besides a tiny bootloader (or a tiny partition) I ...
0
votes
0answers
10 views

linux + dose openswan vpn can support checkpoint gateway + client to site configuration [duplicate]

Openswan is a VPN client for linux Please advice if this VPN can support the following configuration VPN client to site ( client to Checkpoint gateway ) The following diagram explain the scenario ...
2
votes
1answer
25 views

VPN client for linux machine + support checkpoint gateway

Since Checkpoint Company does not have a VPN client for Linux (checkpoint VPN SNX R71 is not fit for us because this VPN required changes on the gateway side ). I'm trying to find if there is a VPN ...
0
votes
1answer
56 views

what programming language required to develop linux O.S? [on hold]

I want to know, what programming language is required to develop Linux operating system?. How to start and what are the required concepts ? I want to create my own O.S to my PC. I have knowledge in C ...
0
votes
0answers
7 views

Is IBus stopped developing?

Is this project became abandoned? As Bcooksley stated at this post, the authors has stopped developing IBus, and this is the reason why Kubuntu removed the Language Option in the System Settings. I ...
1
vote
0answers
7 views

thunderbird folder pane changed after upgrade from version 17 to 24

After Thunderbird upgrade from version 17 to 24, the "folder pane" no longer has my theme color, but instead has some kind of light-grey grainy image-gradient. This might be an insignificant detail ...
2
votes
2answers
19 views

How to interpret all fields of `utmpdump /var/log/utmp`

I'd like to monitor logged in sessions, include how they logged in (physical console or SSH), and how long that session has existed for. It seems like utmpdump /var/log/utmp has that information, but ...
0
votes
1answer
21 views

Virtualbox + Apache - how to access my server from host machine?

My host OS is Gentoo, guest OS - Fedora. I have a web server on Fedora on port 8686 and it works perfectly on guest OS, but I can't access it on my host OS. I tried to use bridged network (then I got ...
3
votes
1answer
19 views

directory changes permission when mounted

I want to mount a samba sghare to a directory in my home dir. I have created it but mount the share as root. Upon mount, the owner of my dir changes to root and my user doesn't have permission tow ...
1
vote
0answers
4 views

tcplay: cannot mount filesystem on TrueCrypt volume with hidden volume protection after mapping it

I am using tcplay to work with a Truecrypt volume with a 4 GB hidden volume located at the final gigabyte. When I mount either the normal volume or the hidden volume, they mount just fine. However, ...
2
votes
2answers
14 views

Stopping e2fsck early

I had some drive errors so I ran e2fsck -cckty to find bad blocks on a 2TB drive. It found some bad blocks at the beginning, but hasn't found any in a day and a half. e2fsck has been running for 40 ...
1
vote
1answer
8 views

How would I run Django and LAMP on different subdomains, but on the same Apache server?

I am currently working on a development project where I need to run four different PHP programs (both with MySQL backends) and one Django project. Current Plan: XenForo (forums.domain.com) [PHP ...
0
votes
1answer
6 views

Unrar local files to remote server [duplicate]

I have two Linux servers, one which has several RAR files and another empty one. I would like to extract the archives and move the content to Server 2. The problem is: I do not have enough storage to ...
3
votes
0answers
9 views

Selecting different accounts in a mutt send-hook

I use the instructions outlined here to use different accounts in mutt. I'd like to be able to select different accounts depending on sender--send-hook seems like the right way to go. send-hook ...
3
votes
1answer
29 views

Unrar local files to remote server

I have two Linux servers, one which has several RAR files and another empty one. I would like to extract the archives and move the content to Server 2. The problem is: I do not have enough storage to ...
0
votes
0answers
5 views

Opensuse 12.3 icewm-session to gnome

I'm using icewm session but I would like to install gnome and set it to default desktop environment but I would like to not erase the xsession that I actually have (in case something screw up and not ...
2
votes
0answers
10 views

Manually adding static ip not resolved after a while

I have a small problem with a device I am connecting to my laptop, running Debian Linux. While connected to a router on my wlan1 interface (using wicd, if that matters), I am adding a static ip to my ...
1
vote
1answer
29 views

files that do not excist, prevent me from deleting them, corrupted filesystem

Well... It's about on an OS X system (hfs+), but that's unix after all to. :p system has become unbootable, due to a filesystem error... fsck.hfsplus fails because .... ... ** Checking ...
1
vote
0answers
8 views

Linux / Windows 8.1 : Installation on raid0

I need to install a linux distribution on my laptop (an Asus UX302LA). I tried again and again but I couldn't even begin the installation. To explain you my problem, I know that Windows 8 is installed ...
-3
votes
1answer
32 views

Kali tools on Ubuntu

Okay, So I am new to UBUNTU, and have little experience with Kali and Backtrack! so I wanted to install ALL the Kali Linux tools in UBUNTU, not one by one, or just transform the Kali Linux into Ubuntu ...
0
votes
2answers
79 views

Extract data in linux/unix

I have input data which I want to parse and extract values using awk/grep/sed: group-2 9 10 text color=black,from=ABCB11,fromid=4,order=2,thickness=3,to=ACE,toid=11,use=1,z=1 group-3 0 1 text ...
0
votes
2answers
6 views

How to check debconf selections of a non-installed package?

I'm trying to check the debconf configurations of some non-installed packages, like ufw, but I haven't found a way with debconf* binaries to check them out. Is there something I'm missing?
2
votes
3answers
222 views

Is there an alternative to the `which` command?

If the which command is not available, is there another 'standard' method to find out where a command's executable can be found? If there is no other 'standard' method available, the actual system I ...
2
votes
0answers
21 views

How is it that I can attach strace to a process that isn't in the output of ps?

I'm trying to debug why our integration tests are taking so long and it looks like they're hanging part way through. I logged onto our test service and saw the following behaviour: root@colossus:~# ...

15 30 50 per page