0
votes
1answer
26 views

Disable ptrace on Debian

Is there a way to disable ptrace on debian. I would like to see if there is something similar to what is done here for ubuntu: http://software.intel.com/en-us/forums/topic/375990
-1
votes
0answers
54 views

Should I use Ubuntu or Debian for a server? [closed]

What is the best practice for a server OS, Ubuntu or Debian? Something else (not including Red Hat)? Also, why is this best practice? What makes Ubuntu/Debian better as a server OS than the other?
0
votes
1answer
31 views

Difference between unattended-upgrade & apt-get dist-upgrade

Assume I need to write a cron job to automate the installation of security update daily, which command I should use for better reliability?
0
votes
0answers
24 views

Chef doesn't preseed installation of the package

I have created a a file in my cookbook in files/default/debconf-selections-libnss-ldapd with the following content : libnss-ldapd libnss-ldapd/nsswitch multiselect group, passwd, shadow ...
0
votes
1answer
132 views

Using iptables to forward traffic to a single IP address

The setup: Debian; acting as the network's router using iptables, fail2ban Because of external requirements, both networks are 192.168.1.x. eth0: 192.168.1.1 eth1: 192.168.1.2 Ubuntu (192.168.1.3) ...
0
votes
1answer
112 views

tunneling layer 2 ssh

Ok, I'm trying to break my previous question down into parts: This is my reference: https://help.ubuntu.com/community/SSH_VPN tunneling ubuntu -> debian 1. ssh -i green.pem root@$HOST echo 1 | ...
8
votes
2answers
121 views

SSH session never closes when executing “apt-get install”

Problem When running apt-get install in an SSH session, the session never closes. Example: ssh user@target "sudo apt-get -y install my_package" The my_package does get installed properly, but the ...
1
vote
2answers
46 views

Search for installed unavailable packages (backports and 3rd party)

I would like to remove any packages that I installed from third party repositories. I recently installed some backports from PPA repositories, and I suspect one of them broke my Ubuntu 12.04 server ...
0
votes
1answer
73 views

Apache2 configtest segmentation fault

For whatever reason I managed to mess up Apache quite bad (Ubuntu 12.04). The output below complains about configtest failing and a segmentation fault. However, I can't find anything in ...
0
votes
2answers
57 views

How to enable sysstat from shell script in Ubuntu? [duplicate]

In Ubuntu, I can install sysstat using apt, e.g. apt-get install sysstat And then enable it via interactive prompt dpkg-reconfigure sysstat But I want automate the process using fully automated ...
0
votes
1answer
116 views

How to configure Jenkins deployment path on Ubuntu?

With default Ubuntu/Debian installation of Jenkins, is there an easy way to change the deployment path? I'd like Jenkins to be available somewhere like http://localhost:8090/foobar I'm looking for a ...
2
votes
1answer
167 views

Backporting tomcat7 for Debian squeeze

I am creating .deb installation packages for our software, which has a dependency on tomcat7. Unfortunately, this package is not present in Debian squeeze, which ships only with the package tomcat6. ...
1
vote
2answers
166 views

How to get /proc/[pid]/cmdline to contain command arguments?

I am running into an issue where some of my Ubuntu/Debian servers do not show the arguments passed to rake in either top or ps. I have tracked this problem down to a variation in output given by ...
2
votes
1answer
67 views

run nfs server version 3 only

I'm a RHEL guy, and new to debian/ubuntu, I have just setup an nfs server, and when I mount a share on a client, it uses version 4, how can I get the server to run with nfs version 3 only? PS: our ...
0
votes
1answer
162 views

Group permission inheritance and umask

Edit: in my case virtual_use_local_privs=TRUE did the trick. i'm trying to force newly created files and directories inside foo/ directory to be owned by nginx user and to set the right permissions ...
0
votes
2answers
162 views

Speed up CIFS remote file shares

In my office I have a Debian server, a Ubuntu workstation, and a Windows laptop. I have a samba share directory on the server where I keep my source code. I access the files in this directory on both ...
1
vote
0answers
63 views

CA root certificate in pam_ldap configuration will not work without tls_checkpeer no

Systems are Debian Squeeze and Ubuntu Precise with identical configurations. Version of libpam-ldap is 184-8.5 on both distros. Everything works fine with the following configuration in ...
4
votes
1answer
96 views

Auto-configuring postfix using dpkg-set-selections

On Ubuntu 12.04, I'm trying to use dpkg-set-selections to automagically configure postfix on deployed machines with the following: debconf-set-selections <<EOF postfix postfix/main_mailer_type ...
0
votes
2answers
117 views

ssl-cert package (self signed certificates) for rpm/fedora

In Debian/Ubuntu, my deb packages depend on the ssl-cert package, to provide some self-signed https certificates, if nothing else. From the Debian page: This package enables unattended installs of ...
-1
votes
1answer
304 views

403 Forbidden warning after installing/enabling usermod

I'd like to have per-user web directories on my Linux Mint workstation in the same general way I have had on OS X. In order to do this, I created a public_html directory in ~/. and chmod'd it to 755 ...
0
votes
0answers
147 views

Ubuntu Server - Screwed up partition table?

So I think I've screwed my Ubuntu server after using PING (it's a tool like Norton Ghost) to try and create a backup image. Basically the system got to an unbootable state just with the grub ...
1
vote
4answers
78 views

monitor/stream bash_history [closed]

is there a way to stream/monitor/log bash history to prevent the ability of someone hiding stuff? would like to monitor and know every little thing that happens so that the list of commands and ...
1
vote
1answer
100 views

Install package to use with early_command in Ubuntu preseed file

I'm trying to make api calls during an ubuntu install using curl, but it always returns the error code 127 which means the command does not exist, this is what it looks like: d-i ...
5
votes
1answer
58 views

Ubuntu to list relevant security advisories

If I want to find out what security updates there are on a redhat/centos server and the coresponding security advisory I can run this command: yum --security list-security That would include data ...
0
votes
2answers
62 views

Nginx serving off the wrong root

I have 2 sites-enabled, with server_name as follows: server_name www.mysite.com mysite.com and server_name dev.mysite.com Problem: When I access the website via its IP address, by looking at the ...
3
votes
1answer
78 views

How can I use etckeeper via sudo with different users and have the correct user in the commit message?

I'm working on a server with several admin users. Each of them can use sudo to make configuration changes. We're keepeing our /etc directory version-controlled using etckeeper. However, when I or ...
0
votes
1answer
109 views

Display menu instead of login prompt on Linux

After starting up a linux server (mostly Ubuntu or Debian based), I see a login prompt on the local console. To enable end users to restart such a server or start some maintenance tasks, I would ...
-1
votes
3answers
146 views

How to update debian dns server? New VM with same hostname as old VM

We run several linux VM's on our Hyper-V cluster. Our old IT manager configured the dns server to resolve the url 'devlabs.ourdomain.com' to a debian squeeze apache webserver hosted on the hyper v ...
0
votes
1answer
321 views

“tasksel: aptitude failed (100)” installing LAMP on Ubuntu (vagrant)

vagrant@precise64:~$ sudo tasksel install lamp-server tasksel: aptitude failed (100) I'm hoping to get a LAMP server from a clean install of ubuntu. All the googles suggest tasksel, which going ...
0
votes
2answers
63 views

Filesystem owner changed by mistake [closed]

I ran this command on my ubuntu server 12.04 by mistake: chown someuser / -R On RHEL it would be fixed by this command: rpm --setugids -a Is there anyway to fix it in ubuntu server?
0
votes
0answers
40 views

Production Servers Repos packages installing/revert packages

I have a question about using packages for production. As of now I am using Ubuntu 12.0.4 precise for my production boxes. I am now running my servers in the cloud which brings me here to ask my ...
1
vote
1answer
379 views

issues installing with apt-get on fresh install

Fresh server install of 12.04 ubuntu 64BIT. Any ideas as to why this is not working? root@ubuntu:~# sudo apt-get install kvm libvirt-bin Reading package lists... Done Building dependency tree Reading ...
2
votes
2answers
140 views

MySQL Not Reading Symlinks for Options Files my.cnf

I'm running MySQL 5.5 on Ubuntu. There is a my.cnf file in /etc/mysql/ where I would expect it to be. - Great! For debian installations of mysql it is recommended that you do not edit the my.cnf ...
3
votes
2answers
230 views

How to version lock packages in Ubuntu?

On CentOS exists the yum versionlock option, where you can lock a package to a specific version, so it is never upgraded past that. I would like that puppet-server-2.7.19-1 puppet-2.7.19-1 stays ...
3
votes
1answer
123 views

how to undo an iptables rule that I did?

I accidentally did: iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j SNAT --to 0.0.0.0 when 0.0.0.0 should be the server's IP address but I forgot to replace it. How can I undo this?
0
votes
2answers
44 views

How can I make aptitude show me the files that will be installed for a given package

On ubuntu I would like to know which files that will be installed when running sudo aptitude install ruby-rvm. So first I do sudo aptitude download ruby-rvm. Now I can do aptitude show ruby-rvm, but ...
3
votes
4answers
93 views

Get the distro and version of servers [duplicate]

Possible Duplicate: How do I find out what version of Linux is running? What is the best way to get the flavor of linux installed on any server? For example if the server is RedHat or ...
-1
votes
1answer
61 views

Binding IPs to non-root users

I want to bind IPs to non-root users so that all outgoing applications will use that IP for the user. I have this: iptables -t nat -A POSTROUTING -m owner --uid-owner xxx -j SNAT --to-source ...
0
votes
2answers
139 views

redirect to 404 wildcard subdomain

I setup a wildcard A record on my domain registrar. Now if a user access a missing subdomain on my domain, they will be redirected to the homepage. Currently my initial setup was this: ...
2
votes
2answers
58 views

Update ubuntu server to the state of one week ago

I want to have the ubuntu updates on the production servers after they working one week on the staging servers. If I make apt-get update && apt-get upgrade on the production servers after a ...
0
votes
3answers
262 views

How to get a list of security updates on the command line in Debian/Ubuntu

In the GUI tool you can get a list packages with security updates. Can this be done on the command line in Debian or Ubuntu? Normally I might use "apt-get upgrade" which would show me what is being ...
6
votes
3answers
613 views

How to create a Linux user without a password but being able to set it?

I have a username and an SSH key for a (hypothetical) guy and I need to give him admin access to a Linux (Ubuntu) server. I want him to be able to log in via SSH and then set his password by himself ...
1
vote
1answer
136 views

Why is a ZFS pool not persisting over server restart?

I have a ZFS pool with 4 drives. It also has a 3gb ZIL and a 20GB L2ARC that are each partitions on an SDD that doubles as my Linux Mint (ver. 13) boot drive. The pool is mounted to /data. The ...
0
votes
1answer
485 views

libpam-ldapd not looking for secondary groups

I'm migrating from libpam-ldap to libpam-ldapd. I'm having some trouble gathering the secondary groups from LDAP. On libpam-ldap, I had this on the /etc/ldap.conf file: nss_schema rfc2307bis ...
1
vote
1answer
138 views

How to cut php-fpm IOPS

I have Amazon EC2 instance with NGINX + PHP-FPM (through socket) + APC. I see sth. like this in iotop on high load. Total DISK READ: 0.00 B/s | Total DISK WRITE: 0.00 B/s TID PRIO ...
3
votes
2answers
96 views

Prevent a package from being uninstalled in Ubuntu

So, after an accidential fat finger with aptitude today, it wanted to uninstall mysql-server, this was on our database server. Since it was a pile of text, I just pressed Y, blindly trusting apt to ...
1
vote
1answer
52 views

Is it possible to use preseed/url with authentication?

We are using a preseed.cfg via preseed/url to automate system deployment/configuration. The preseed files are kept in source control (Subversion). This makes them readily available via HTTP, with ...
3
votes
2answers
85 views

List all the shares in a network

I am running Linux and in my network we have got lots of systems with samba shares. Is there any way so that I could get all the samba shares information
0
votes
1answer
420 views

Where did start-stop-daemon store the pid file by default?

When I have a upstart script like.. exec start-stop-daemon --exec /tmp/test.sh --background --start I suppose will save the pid file somewhere and later use it for stop or restart, right? So ...
2
votes
1answer
97 views

.htaccess works for virtualhost but not for public_html

The problem is when I have a docroot pointing to some user's public_html/*. Say there is a virtualhost with Docroot /home/user/public_html/www - there .htaccess works. Yet when I go to ...

1 2 3 4 5