2
votes
2answers
14 views

Chrooted SFTP user write permissions

I have a setup with sftp only users: Match Group sftponly ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding no I get the following message in my secure.log: fatal: bad ...
1
vote
2answers
51 views

Unable to get rid of root user and privileges

I am told that the most basic security to set up in Linux is to change the superuser name from root to something obscure so I run these steps to add new user $ /usr/sbin/adduser new_username $ ...
0
votes
2answers
21 views

Copy over existing files without confirmation?

I need to copy and over-write a large amount of files, I've used the following command: # cp -Rf * ../ But then whenever a file with the same name exists on the destination folder I get this ...
4
votes
1answer
158 views

ifconfig command not found

I've just installed CentOS7 as a virtual machine on my mac (osx10.9.3 + virtualbox) .Running ifconfig returns command not found. Also running sudo /sbin/ifconfig returns commmand not found. I am root. ...
1
vote
1answer
59 views

How to run java service as a non-root user on CentOs 6

I have a script that starts a Java application as a service on CentOS 6: #!/bin/sh # chkconfig: - 80 20 SERVICE_NAME=cn4server PATH_TO_JAR=/usr/local/share/myserver/cn4server.jar ...
0
votes
0answers
16 views

how to find where buffers/cache are and how to clean them up? [duplicate]

I want to create 20gb ram disk for ANSYS to work in yet on free -g I see: And personally I have not created any ram drives yet. So I wonder how to maximize avaliable ram: how to locate what is using ...
5
votes
1answer
50 views

forward outgoing traffic port using iptables

I am trying to forward all outgoing traffic from port 80 to port 8080 using iptables and I tried the following rule, though it did not work: iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT ...
4
votes
2answers
62 views

777'd some files. How do I repair SSH?

So I'm messing around on a test server and accidentally ran the following (which resulting in SSH breaking): # chmod -R 777 /var Because it's a test server, I'd rather not re-install right now, I ...
2
votes
1answer
68 views

set ip default outgoing in centos

I have server which has Centos and I want to change the outgoing IP address. This is the output of my route and route list commands. [root@marketport tmp]# route -n Kernel IP routing table ...
3
votes
1answer
54 views

Make RPM Satisfy Dependency Requirements of Other Installed Packages

So, I am installing a java app that I wrote which uses jnetpcap. This requires libpcap of at least v1.0.0. My CentOS 5.8 only has libpcap 0.9.4, which is required by other installed packages. I've ...
-1
votes
1answer
38 views

Password length and complexity

I am using CentOS and I want to set the minimum password length, minimum password expiry , maximum password expiry and password complexity in my system. I have looked over some tutorials to change ...
1
vote
2answers
128 views

eth0 not installed on CentOS

How would I go about installing eth0 on CentOS? When I do ifconfig -a, eth0 is not there. Here is the output of ip link: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback ...
0
votes
0answers
18 views

Start Netbeans as super user as a shortcut with password embedded

For my work purposes, I need to start netbeans in super user mode. I find it quite irritating to have to type this : su then enter the password ./netbeans everytime I want to start netbeans. How ...
0
votes
0answers
19 views

The Case of the Conflicting Bootloaders

A server with a 2-disk RAID array (mirrored) is serviced by a 4-port 3Ware controller. Recently it became inaccessible after a restart. At the console it asked for the runlevel. Indeed, the /etc ...
0
votes
0answers
9 views

CentOS Run Command as Root on Startup [duplicate]

I need to designate my network card device p4p1 with a certain IP address on startup. The command I am using is as follows : /sbin/ip addr add 129.100.14.2/24 dev p4p1 this works from the command ...
1
vote
0answers
60 views

checking sendmail status as NON root user

I am in the process of converting to CentOS 6.5 from 5.5 and need a way to check if sendmail is on or not. For reasons I don't want to go through, I need to be able to check if sendmail is ON as a ...
1
vote
0answers
23 views

Setting up traffic for GRE Tunnel

I want to set up clients that are behind NAT with a public IP but allow them to have one or more public IP's on their device. The idea is to have a linux box with either 1 or two network cards. Lets ...
3
votes
1answer
71 views

Removal of HDD causes kernel panic

I recently added a 2nd HDD to a system and then proceeded to do a clean install on to this 2nd HDD of CentOS 6.5. The original system was CentOS 5.9. My plan was to leave the original HDD in place so ...
0
votes
1answer
30 views

Building rtmpdump on RHEL x86 without yum and no root rights

I have an ssh connection to a RHEL x86 machine, and I can't use yum and I don't have root rights. Is there a way to still install rtmpdump? By looking at this tutorial, it seems that installing ...
0
votes
0answers
21 views

Spamassassin blacklist_subject not translating UTF8 characters

I am using spamassassin version 3.3.1 in conjunction with amavisd on Centos 6.5 64bit. It appears that when I use the whitelist subject plugin (actually using it to blacklist subjects, ie ...
0
votes
2answers
71 views

Disk full on a server with a large /home partition

I've just got this CentOS Server but I think I've set it up wrong as I can only upload a few GB then I start getting errors, It should have ~1TB. this is the results of lsblk [root@ns4005990 ~]# ...
0
votes
1answer
60 views

Rooting Linux via mysql

I have a CentOS 5.6 x86 installed. I have full access to mysql but it seems I have forgotten Linux root password. How I can access the root via MySQL? Is it even possible? Update: MySQL Version is ...
2
votes
0answers
19 views

Intel Xeon stuck at 800mhz CPU Freq on RHEL 6.5 [duplicate]

Currently running into a headache trying to figure out why my CPU speed is stuck as such a low frequency. After doing some research, I found that cpuspeedutil does actually control the state of the ...
0
votes
1answer
132 views

SSH Login doesn't work using a key Without Password?

Agent admitted failure to sign using the key I'm working on centos6.5(32bit) and I have tried to ssh log in without Password Using ssh-keygen & ssh-copy-id? the steps that I have done: first I ...
1
vote
3answers
193 views

What commands are available in the %pre section of a Kickstart file on CentOS?

Environment: CentOS 5.5 and 6.4 I have a request to analyze the hardware before installation to make sure our customers don't install our software on sub-standard server hardware. For example, ...
0
votes
1answer
93 views

Disable iptables service on CentOS

I don't want the service to start after reboot. my code does this: service iptables stop service iptables save chkconfig --level 123456 iptables off service iptables status iptables: Firewall is not ...
0
votes
2answers
52 views

Creating an iso from the virtual machine

I have openSuse installed as a virtual machine on Oracle Virtual Box, and I have configured some softwares with the way I require. I need to replicate the similar environment on a new Server (NOT the ...
1
vote
2answers
67 views

simply change IP after installation on server minimal

I'm using CentOS 6.5 minimal. Is there any way to display a dialog to change the IP after login? In other words, some way of entering a command with a dialog to change the IP?
2
votes
2answers
212 views

Custom Kickstart ISO process - packages to RPM mapping

I want to start by saying that I am new to kickstart so if I use the wrong terms I apologize in advance. What I am trying to accomplish: I am trying to create a customer ISO for installation of ...
0
votes
0answers
72 views

What software should I use to create a HPC (High performance compute) cluster with CentOS 6.5 VMs locally?

I've read about Torque, Slurm resource managers and Maui, Open Grid scheduler, Sonf of Grid Engine but I do not know which is more appropriate to use in a local environment? I've also read that I need ...
0
votes
1answer
102 views

How to add Ip Aliases with Two Gateway on same nic Centos

I have 2 allocated address range, example 10.10.12.25/28 10.12.12.24/28 How to add Ip Aliases with Two Gateway on same nic with Centos?
2
votes
2answers
89 views

Lose network connectivity when bringing up second NIC

I currently have a CentOS 6.5 box with 4 NICs. eth0, eth2 and eth3 all come up fine, however when I bring eth1 up with an IP address, even on it's own, it causes complete network loss. If I remove ...
1
vote
0answers
94 views

Segmentation Fault on execution [closed]

I am getting this segmentation fault (core dumped) error on excecuting my c++ program on Centos. I am compiling my code using g++. Everything was executing fine for hours. Suddenly, on executing the ...
-1
votes
1answer
40 views

Apache Downloading a lot data, how to find out which script?

Apache Downloading a lot data, how to find out which script? I host a few sites, i noticed a ton of bandwidth being Downloading (not so much when uploading) when the httpd service is running, when I ...
1
vote
1answer
962 views

Issues in XRDP installation on Cent OS 6.5

I already went through the similar issue tracked in Installing XRDP on Cent OS 6.5, however it haven't helped me to fix. I am using MAC and trying to install XRDP in CentOS release 6.5 (64 bit). So ...
1
vote
1answer
71 views

What does ^Z mean?

I tried using ^Z to send and application to the background(to then use fg to restore) but I notice that it says "Stopped" and in another terminal while monitoring htop, everything just freezes. Is ...
0
votes
0answers
31 views

Citrix printing problem on centos - hp

I have setup Centos 6.3 - 6.5, installed wine and running Citrix app. I can print perfectly Wine based apps (i.e. wine notepad) but when printing Citrix through wine it is printing ASCII characters. ...
0
votes
0answers
31 views

Citrix on Wine under Centos 6.5 printing garbage characters

I have setup Centos 6.5 and wine is used to run Citric Apps. When printing from Citric it is printing garbage value. But printing fine from Centos. Printer is HP Laserjet pro 400 on network.
-1
votes
1answer
47 views

Removing files and symlinks like /etc/*release. Could it cause issues?

I just got a VM running on CentOS 6.5 and ls -l /etc/*release returns a number of files like /etc/centos-release, /etc/lsb-release, and /etc/redhat-release. The last one, /etc/redhat-release, is a ...
1
vote
0answers
53 views

Postfix/devcot MailServer - not receiving emails

I'm new to linux and unix in general, I've worked with a shared hosting provider over the years where everything was setup for me, including email. I'm now trying to create my own mail server in my ...
4
votes
2answers
2k views

Installing XRDP on Cent OS 6.5

I am trying to install xrdp service on one my VPS server, and though all installed successfully I get following error after connecting via Windows MSTSC service. Following are the resources I have ...
1
vote
3answers
226 views

Mount a second ssd drive on centos - How can I figure out which is the unused drive?

I need to mount my secound ssd drive to /home2. I already created the folder /home2 - Now, how can i figure out which is the unused drive ? Is this /dev/sda or sdb ? What is the exactly thing i`ve to ...
0
votes
1answer
64 views

installation causing error

I have downloaded g2ipmsg from http://www.ipmsg.org/archive/g2ipmsg-0.9.6.tar.gz while installation this package it causing some error checking for G2IPMSG... configure: error: Package ...
0
votes
1answer
131 views

iptux Installation causing error

I'm trying to install iptux in CentOS by using yum install ip* it causes the following error --> Finished Dependency Resolution Error: samba4-winbind conflicts with ...
0
votes
1answer
60 views

Calendar software for Linux [closed]

I'm wondering and searching a calendar for Linux (Centos). Here calendar means to save important notes and points by date and time in all days,for this purpose I'm asking this question. Is there any ...
5
votes
1answer
401 views

Cannot connect to any localhost connections

I'am using Centos 6.5 with latest updates. My problem is that whenever i try to connect to some local service it just hangs for example: wget wget 127.0.0.1 --2014-03-11 12:43:42-- ...
0
votes
1answer
29 views

Crontab in Daylight Savings

This weekend with daylight savings, we had a situation that when the system clock hit 3:00am from the jump, we had hundreds of processes fire off out of the crontab. Everything I'm reading says that ...
0
votes
3answers
619 views

Alsa Pulse Audio cannot open audio device pulse (No such file or directory) pulse: Input/output error

I'm trying to stream my Gnome Desktop I installed on my OpenVZ VPS Server, and I'm not trying to run this from SSH, but the terminal inside the GNOME desktop, I know it probably doesn't have a sound ...
0
votes
1answer
213 views

Run Java in a chrooted jail

I'm on a CentOS 6.5 machine with Plesk Panel which I used to create a chrooted environment for a user who can access it via ssh. I'm not a big expert but somehow I managed to let him use some basic ...
0
votes
1answer
65 views

Commercial support for CentOS [closed]

As you know CentOS is taken over by RedHat, so i boils out couple of points as mentioned here. Will CentOS remain complete free as it was(is) before(now)? Can we expect upgrades of CentOS in future, ...