Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

learn more… | top users | synonyms (1)

1
vote
1answer
2k views

Openldap ppolicy, how to unlock account?

I have enabled OpenLDAP password policy overlay and account lockout is now working fine. On 5 authentication failures the account is getting locked out. On resetting the password the account becomes ...
5
votes
1answer
2k views

Adding latency to outbound UDP packets with tc

I would like to impose an arbitrary latency on outbound UDP packets using a fw filter in tc; however, I cannot get the filter to work properly: tc qdisc add dev eth0 root handle 1: prio tc qdisc add ...
5
votes
2answers
7k views

How can I setup a SOCKS proxy over ssh with password based authentication on CentOS?

I know how to setup a simple proxy using ssh -D ,but I want to use username and password based authentication for this case. Is there any way?
1
vote
4answers
1k views

Setting FQDN hostname and dot

I was wondering if I am editing a file such as /etc/hosts or /etc/sysconfig/network should I put a . at the end of the name. such as test.example.com. Is there a difference? Would anything break ...
0
votes
2answers
104 views

how many servers and in what configuration for web application by small company? [duplicate]

Possible Duplicate: Can you help me with my capacity planning? My question is from a startup company providing a web application for the first time. It consists of an Oracle database (11G), an ...
0
votes
2answers
140 views

Windows or Linux for VPN-VPN Bridge

I have the following network layout: Network1 ----VPN1-----Network2----VPN2----Network3 I can administer everything in Network1 only and my goal is to get to a box on Network3. I've been told by the ...
2
votes
2answers
12k views

How to start dovecot?

I'm building a web server to host multiple websites. I got everything working except the mail server. I'm using linode to host my vps and I've been following their tutorials. FYI, I'm using Ubuntu 11....
10
votes
1answer
63k views

Two network interfaces and two IP addresses on the same subnet in Linux

I recently ran into a situation where I needed two IP addresses on the same subnet assigned to one Linux host so that we could run two SSL/TLS sites. My first approach was to use IP aliasing, e.g. ...
1
vote
1answer
833 views

How do I require a resource in a Puppet definition based on an array parameter?

I have a define that looks like this: define user::sys_user($fullname, $uid, $groups, $shell='/bin/bash', $authkey, $authkey_type=rsa) { $username = "sys_${name}" group { $username: ...
-2
votes
1answer
102 views

Asterisk - which protocol/technology is using? [closed]

Asterisk installed on Linux server by other admin. I am trying to find out which communication protocol/technology is currently using on Asterisk? Eg: isdn, voip, acd, etc. I dont know which one is ...
1
vote
2answers
290 views

serving logs via HTTP

Here is what i am trying to achieve: I have a few Linux servers that have my web App deployed on. Currently my development team access the web app, run their test cases and then SSH into my Linux ...
1
vote
0answers
540 views

How can you route DHCP requests through a non-default gateway?

I'm hosting some KVM virtual machines on a server with two NICs, eth0 and eth1. I have two networks 192.168.100/24 and 192.168.200/24. I have set up bridges as per http://www.linux-kvm.com/content/...
5
votes
4answers
257 views

Possible to reconstruct deb package from installed?

I have installed some 3rd party deb packages from a PPA, which now have deleted the packages. Is it somehow possible to reconstruct the packages as I have host where they are installed on?
4
votes
5answers
1k views

Alerting on Failed Puppet Status

I can view "Currently failing" nodes in the puppet dashboard web GUI, and even drill into it to see what policy has gone awry. I can also see if nodes are not reporting. Is there any way I could get ...
1
vote
2answers
924 views

How to Start Linux Daemon program at boot up

I am confused on how to start my Daemon C program at boot-up. The program runs as a Daemon OK when I satrt it from command shell, but now I want it to start up every time at boot-up. I have searched ...
1
vote
8answers
755 views

How to delete a directory called ~?

A defect program have created a directory called ~. If I do rm \~ and then TAB it translates to ~/ which is the users home directory. How do delete such a directory? Update See my answer that ...
10
votes
3answers
10k views

How to make system wide alias for “ls -l”? [closed]

I would like to have alias ll="ls -l" to be system wide. How is that done on Ubuntu?
1
vote
1answer
479 views

How many folders you can mount on centos from windows shared folder using Samba with CIFS protocol

Currently I have an interesting problem to solve: In short I will need to pull custom text application log files from server windows servers (Mixed environment of windows server 2008 / 2003 sp2 64bit)...
1
vote
2answers
262 views

Any way to completely remove sensitive content from the HDD before returning CentOS dedicated servers?

We are going to return a few rented CentOS dedicated servers and I was wondering about any way to remove sensitive content (a few folders) from the HDD before returning these servers? Maybe some ...
1
vote
1answer
305 views

How can I get HTTPD to serve the html/php files and not list/index them when they are in folder for virtual host. Using Centos 6.0

My virtual hosts are configured as below, initally I could not even get to the /public_html/ directory when typing example.com and apache would just serve me up the default welcome page, I would also ...
2
votes
5answers
538 views

SSH - using keys works, but not in a script

I'm kind of confused, I have set up public keys between two servers and it works great, sort of. It only works if I ssh manually from a terminal. When I put the ssh command into a python script, it ...
1
vote
2answers
57 views

NFS directory structuring to have both local and networked directories?

I have two CentOS boxes, essentially a QA and a production box, and I want to use nfs to mirror over the entire directory structure of my prod box to QA, however, I want to exclude a certain nested ...
2
votes
2answers
232 views

“Installing” GD for PHP

I'm new to server admin & Linux and have just got a VPS running CentOS 6. Apache, MySQL and PHP all came installed (along with cPanel and WHM), however I'm now also trying to install the GD ...
1
vote
2answers
269 views

Kerberos LDAP and Ubuntu Login

I setup Kerberos and LDAP for directory management at an institution for Ubuntu OS. I got LDAP configured correctly and Kerberos. The user's home directory is in an LDAP directory. When the user ...
0
votes
1answer
91 views

Aggregating data from multiple MySQL servers

I have 10 MySQL servers and each one holds a database that needs to be replicated to a single, centralised MySQL server. The complexity is that each server must replicate its database to the same ...
8
votes
4answers
1k views

Analyze and optimize crontabs [closed]

Is there a tool to graph, analyze and help optimize crontab execution? To clarify, I'm thinking of a tool which would generate a graph of when cron jobs are executed, and help the sysadmin reorganize ...
3
votes
3answers
2k views

Start heartbeat automatically on reboot?

Newbie question, sorry - I've been googling 'start automatically on reboot ubuntu' and the like, but I'm not sure I've found the definitive answer. I'm using Ubuntu 10.04 and I would like to make ...
1
vote
3answers
184 views

The secure linux server by dir permissions

I am using php on Linux / Apache server. I have Three type of directories like as |_ Writeale Directory |_ PHP Files |_ Image Files Writeable Directory would used only by PHP to writing some txt, ...
-1
votes
1answer
2k views

High system CPU usage in Centos with cPanel/WHM

After installing and configuring WHM/cPanel on Centos 5.7, it seems that often when I try to access WHM, cPanel, or one of the 3 websites sitting on the server, everything freezes (WHM, cPanel and all ...
6
votes
1answer
9k views

Find, and sort results by date created

How can I sort the results of find? I want to sort by date created asc? find /docs -type f | sort Sorts by filename not date created. Thanks.
-2
votes
1answer
460 views

Apache 2.2.21 installation on Linux 6 but got error while accessing in browser

I am very new to linux. I have installed apache 2.2.21 on linux 6 platform. While I am using ./apachectl start or ./apachectl -k start command it shows that apache is started. But while i am trying to ...
1
vote
2answers
2k views

Any Linux distro which is supported on EFI enabled XServe

I am looking into installing Linux on a test XServe machine and see how it goes overall. We have our entire infrastructure on OSX and would like to move to Linux servers. Is there any distribution ...
-1
votes
1answer
203 views

Which simple server virtualization solution to use? [closed]

For one part of our hosting platform we are currently using VMware Server 2 to create two virtual machines on one physical machine. One VM is used for hosting of small websites, the other VM is used ...
1
vote
1answer
3k views

Account lockout using Openldap

What is the best way to implement account lockout in openldap? I have an openldap server with Ubuntu desktop client connecting to it for authentication. I want he accounts to locked out after say 5 ...
1
vote
1answer
24 views

Do user permissions differ in case of different groups?

I have user A created on Machine 1 and user A belongs to group G1. I have user A also on Machine 2 and user A belongs to group G2. A directory on Machine 3 (not in my control) has rwx permissions for ...
0
votes
1answer
938 views

Using Puppet's new firewall module, how do I clear iptables before rules are applied?

I am currently using Puppet's new firewall module. I am trying to have Puppet flush iptables before it applies firewall rules. I tried the following: exec { 'clear-firewall': command => '/...
0
votes
2answers
6k views

VSFTPD Config for Upload of Files

I have been trying to figure out how to allow users to upload to a directory with VSFTPD on an Apache2/Redhat5.5 server. I have been trying for hours to allow anonymous users to upload. Out of ...
3
votes
1answer
2k views

Filesystem space available using SNMP

I'd like to collect filesystem space information using SNMP on Solaris 10 and Ubuntu 11.10. The problem is that SNMP doesn't seem to have an attribute that corresponds to the "Available" column in df. ...
0
votes
2answers
155 views

Unable to get Virtual Hosts to work please see what I am doing wrong (CentOS 6.0)

vhost.conf , located in etc/httpd/vhost.d/ NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin webmaster@example.com ServerName localhost ServerAlias localhost....
0
votes
1answer
273 views

linux centos 5.6 someone installed irc

I need some help, my server provider contacted me to tell me my server was using 200mbit/s bandwidth. Upon investigation I found processes for a user that should not be there.. I found processes as ...
6
votes
2answers
827 views

Is OpenLDAP a viable alternative to Windows LDAP?

Just a simple question; this question is not meant to attack Windows or start a flame war in anyway. I want a viable solution to the way authentication is done in Windows DC environment (LDAP) on *nix....
3
votes
1answer
121 views

Launch application to linux console on startup

I have a small router without a keyboard and mouse, and I'd like to have it display network statistics using "jnettop" whenever the machine is booted up. How can I get the machine to display this ...
1
vote
1answer
577 views

How do I load balance between two Linux machines?

Inspired by the Stack Overflow network, I am now obsessed with HAProxy and trying to use it myself. At the moment, each HAProxy box has got two network cards (well, two configured, I can have a ...
0
votes
4answers
6k views

PHP 5 will not work in Centos 6 for me

Just created a new install of Centos 6.0 64-bit on a virtual machine and running on Vmware workstation 8, windows host. yum install php service httpd restart And when trying to run a html file from ...
0
votes
3answers
509 views

Strange network traffic on my dedicated server. How to find out what is causing it

I noticed a trange outgoing traffic in my dedicated server. I'd like to know how could I find out what is the reason to this. One day traffic One week traffic As you can see, there are bursts of ...
2
votes
3answers
229 views

Linux: System analysis tool [closed]

I have a server performing multiple tasks over traffic coming to it. Lately the server has been stuttering. When the system chokes, it reboots - this leaves me with little meaningful information as ...
1
vote
5answers
9k views

how to fix “BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) built-in shell (ash) Enter 'help' for a list of built-in commands?”

So I was using Ubuntu when suddenly the whole thing froze up and I had to reboot. And from that moment on, the system when it is starting up, prompts this little selection menu: GNU GRUB version 1.99~...
0
votes
2answers
764 views

Manage Upload Permissions, SFTP & Linux

I'm new to Linux. I am working with a Redhat 5.5 server and am using a Java-based SFTP script that will allow multiple users to upload text files to a server. I am undecided if each user will have a ...
1
vote
1answer
573 views

How to restrict zone transfers to specific authorized servers only

I recently failed a PCI compliance scan because of the following: This DNS server allows unrestricted zone transfers. Attackers may be able to use this information to gain knowledge on the ...
2
votes
6answers
9k views

Linux, simple http proxy

I have a linux server running in a data center that has some extra bandwidth and resources. I'd like to set up a proxy service so that I can route all my http/https traffic from home through it. I ...