Greatest Hits

12
votes
4answers
28k views

vsFTPd default uploaded file permissions on Ubuntu not working

I have a Server running Ubuntu 12.10 x64, and the last version of vsFTPd. My user example.com has its home folder set on /var/www/example.com, I created a public_html folder inside and gave 777 ...
27
votes
2answers
23k views

SSH key authentication using LDAP

In short: Would like a way to do SSH key authentication via LDAP. Problem: We use LDAP (slapd) for directory services and we've recently moved to using our own AMI for building instances. The ...
17
37
votes
4answers
57k views

Windows equivalent of iptables?

Dumb question: Is there an equivalent of iptables on Windows? Could I install one via cygwin? The real question: how can I accomplish on Windows what I can accomplish via iptables? Just looking for ...
13
votes
4answers
22k views

Failed tls handshake. Does not contain any IP SANs

I'm trying to set up logstash forwarder, but I have issues with making a proper secure channel. Trying to configure this with two ubuntu (server 14.04) machines running in virtualbox. They are 100% ...
6
votes
3answers
43k views

VMWare ESXi: how to add network drivers to installation?

Background / Problem I have two new servers (Dell R720 & Dell R520) that I plan to install ESXi onto. During the VMWare Hypervisor installation, I'm told that no network adapters exist. Upon ...
5
votes
4answers
37k views

kinit & pam_sss: Cannot find KDC for requested realm while getting initial credentials

I have a very similar problem as described in this thread on CentOS 6.3 authenticating against a 2008R2 AD DC. Here is my krb5.conf, I know for a fact that XXXXXXX.LOCAL is the true domain name: [...
1
vote
5answers
35k views

Office 365 Powershell - Export user, license type, and company field to csv file

I need to be able to export user name or email address (doesn't matter which), company (from the company field under the organization tab in a user account of the exchange admin console), and license ...
14
votes
4answers
42k views

Where is the sshd log file on Red Hat Linux stored?

Can someone please tell me where to find the SSHD log on RedHat and SELinux.... I would like to view the log to see who is logging into my account..
13
votes
2answers
40k views

How can I tell when a given user's password will expire?

Is there a way from either the computer management console or the command line to determine when a user's password will expire? Note: I'm asking this questions for a server that is not part of a ...
8
votes
3answers
20k views

Redis installation on centos 6.5

I am trying to install Redis on centos 6.5 (x64) with following line: yum install redis But I am getting following screen: [root@NodeJs ~]# yum install redis Loaded plugins: fastestmirror Setting ...
11
votes
3answers
60k views

Apache Proxy TimeOut

I am trying to understand what is happening with the following message in our Apache 2.2 error_log: Wed May 18 21:03:29 2011] [error] [client 172.20.10.10] (70007)The timeout specified has expired: ...
22
votes
3answers
41k views

What replaces IIS SMTP server in Windows Server 2012

I have read the notes here http://technet.microsoft.com/en-us/library/hh831568.aspx regarding deprecated and removed features in Windows 2012 and it says that SMTP is deprecated. I assume this is ...
5
votes
3answers
26k views

USB drive not detected in Intel EFI shell

I must update an Intel S3420GPLC board. BIOS, BMC, FRU / SDR, the whole thing. Everything is pretty much automated in the Intel download. You're supposed to boot to the integrated EFI shell, mount ...
31
votes
6answers
57k views

How to capture ack or syn packets by Tcpdump?

I want to use a filter rule to capture only ack or syn packets. How do I do this?
1
vote
1answer
18k views

AH01630: client denied by server configuration Apache

I get this error when trying to access localhost via a browser. 403 Forbidden I use Ubuntu 14.04 LTS Here is my configuration file: etc/apache2.conf # This is the main Apache server ...
3
votes
2answers
24k views

Server sent passive reply with unroutable address when connecting to FTP site with FileZilla

I get the error "Server sent passive reply with unroutable address. Using server address instead." when connecting to a FTP site (not SFTP). I have connected to this site many times, however ...
17
votes
2answers
36k views

Curl: disable certificate verification

I am developing and I need to access https://localhost. I know the certificate will not match. I just want curl to ignore that. Currently it gives me the following error message: curl: (51) SSL peer ...
33
13
votes
3answers
11k views

Slow Initial RDP Connection to Windows 10

Since upgrading a machine from Windows 8.1 Professional to Windows 10 Professional (workgroup, no domain membership), I've been experiencing a rather strange issue that I can't figure out. The initial ...
9
votes
9answers
42k views

Cannot connect to local network shares when connected to VPN. Error: “the user name could not be found”

I keep finding that on our small company LAN (7 users, 3 servers) that some servers keep becoming "not accessible" for the purposes of file sharing. They display the message "\SERVER is not accessible....
28
votes
3answers
48k views

Why is my rsync so slow?

My Laptop and my workstation are both connected to a Gigabit Switch. Both are running Linux. But when I copy files with rsync, it performs badly. I get about 22 MB/s. Shouldn't I theoretically get ...
21
votes
3answers
86k views

How to run VMWare ESX or ESXi in a virtual machine?

Can VMWare ESX or ESXi be installed and used inside a virtual machine? It can be installed inside VMWare Workstation or Server, but then it doesn't work; the main symptoms are: It runs REALLY ...
5
votes
3answers
65k views

Giving a user database permissions in SQL Server Management Studio

In SQL Server Management Studio, when I right click my database and click properties, a window opens showing the permissions users have on the database. I have recently added a user to active ...
11
votes
6answers
36k views

Tools for simulating DDoS attacks

I wanted to test my website if it can sustain strong DDoS's, but I don't know which tools could I use to simulate them in my website. What tools are used to simulate DDoS? I found bonesi but it was ...
27
62
votes
6answers
16k views

Why can't MX records point to an IP address?

I understand you should not point a MX record at an IP address directly, but should instead point it to an A record, which, in turns, points to the IP address of your mail server. But, in principle, ...
17
votes
6answers
46k views

Delete a iptables chain with its all rules

I have a chain appended with many rules like: > :i_XXXXX_i - [0:0] > -A INPUT -s 282.202.203.83/32 -j i_XXXXX_i > -A INPUT -s 222.202.62.253/32 -j i_XXXXX_i > -A INPUT -s 222.202.60.62/...
14
votes
5answers
59k views

How to redirect domain A to domain B using A-Records and CNAME records only

I have 2 domains hosted with different hosts. I need to redirect Domain A to Domain B. Unfortunately I can't do a 301 redirect from Host A, but can only modify/add DNS entries (A-Records and CNAMEs) ...
3
votes
1answer
33k views

Unable to add a static route: SIOADDRT: Network is unreachable

I've been bashing my head against a wall for a few days trying to figure this out: My ifconfig is: eth0 Link encap:Ethernet HWaddr 00:50:56:BB:XX:XX inet addr:192.168.36.132 Bcast:...
7
votes
2answers
32k views

Can I override domain group policy with local group policy as a local admin?

I am trying to provision a few special case laptops. I would like to create a local guest account. That's fine but when I try to create it I prompted that my guest password does not meet the ...
61
votes
8answers
70k views

Is a wildcard CNAME DNS record valid?

I know it's valid to have a DNS A record that's a wildcard (e.g. *.mysite.com). Is it possible/valid/advised to have a wildcard CNAME record?
4
votes
2answers
43k views

I need to export a list of all users on our domain and I am not familiar with DSQUERY or DSGET?

I am really struggling to create the query that will export the following: Account FirstName LastName the OU that the user resides in Ideally I would like it as a CSV. I do not have access to the ...
11
votes
3answers
22k views

Highest value of max_connections in AWS RDS micro instance

Currently, the value for the max_connections parameter in a MySQL RDS t1.micro server model is {DBInstanceClassMemory/12582880} is 32. Since my server does not allowing any more connections after 32, ...
18
votes
4answers
28k views

How can I debug a docker container initialization?

I had an issue with a container, even though it builds perfectly it does not properly start. The cause is a workaround I've added to the Dockerfile (for having a self-configured /etc/hosts routing) ...
14
votes
2answers
45k views

Run Elevated Powershell prompt from command-line

Is there a way to run a Powershell Prompt with Elevated privileges from a command linein Server 2012? Problem is this is 'Minimal Server Interface' mode without full server-gui installed so I can run ...
6
votes
1answer
21k views

jenkins fails to connect to git repository

I can't configure the git repository url in a way, that Jenkins could access it. under "Project > Configure > Source Code Management" I set the Repository URL to "git@store:repositories/testproject....
7
votes
3answers
35k views

What is the source of thousands of 4625 Logon Failure errors with Logon Type 8 (NetworkCleartext)?

I have a Windows Server 2008 R2 system that's showing thousands of 4625 Logon Failure errors with Logon Type 8 (NetworkCleartext) in the Security section of the Windows Logs every single day. There ...
11
votes
1answer
42k views

What does Windows 7 local group Power Users actually do

A client wants a new bit of software. Typically they are on the cusp of signing a contract before they happen to mention it to IT in passing. A skim through the technical requirements show nothing ...
10
votes
3answers
28k views

Some systems cannot connect to ldap via ldaps, but others can, is it the wildcard cert?

When trying to make ldaps connections to my Novel eDirectory 8.8 server, sometimes I have to put TLS_REQCERT never in the client servers ldap.conf file. Obviously, this is a bad idea. The command I ...
11
votes
5answers
24k views

Clearing/Deleting Docker Logs

On our docker implementation on GCE, we are running out of space on the root file system. Since images themselves are stored on a separate 1TB volume, the images themselves shouldn't be the problem. ...
12
votes
5answers
76k views

How do I resize a VMware hard disk file?

I have a VMware virtual machine that I made quite large. I am not really using most of it, so I would like to reduce it by 50% or so. Is there a tool to do this?
13
votes
4answers
63k views

How can I see what version of SSL a web server is currently using?

I believe I have disabled SSL 2.0 on my web server (Windows Server 2003). To make sure that it is now using SSL 3.0, how can I check this? What is the correct way to disable 2.0 and enable 3.0 on a ...
4
votes
1answer
50k views

How to execute datapump commands as sysdba from remote machine

I would like to know the syntax to call datapump commands (expdp/impdp) logged as 'sys as sysdba' from a remote machine. I know that when logged on the machine which runs the database, I can use : ...
6
votes
3answers
36k views

HDD: performance differences between 7.2k SATA and 15k SAS

What is the rule of thumb in performance characteristics and differences between 7200rpm (SATA/SAS) and 15000rpm (SAS) hard disc drives of the same generation?
80
votes
6answers
41k views

Fighting Spam - What can I do as an: Email Administrator, Domain Owner, or User?

This is a Canonical Question about Fighting Spam. Also related: How to stop people from using my domain to send spam? What are SPF records, and how do I configure them? There are so ...
1
vote
4answers
66k views

“The RPC Server is unavailable” when replicating domain controllers

I have two domain controllers: DC1: Win2k3 R2 EGDC1: Win2k8 R2 When I try to replicate these two (via Manage Sites and Services and under NTDS Settings) by selecting Replicate Now, I get the error ...
3
votes
4answers
20k views

An Active directory domain controller could not be contacted

After creating an Active Directory domain controller I tried to add client computers to the domain but I kept hitting a snag. The following error occurred when DNS was queried for the service ...
10
votes
2answers
38k views

Nginx: location regex for multiple paths with backend

I have two locations in nginx config that work: location ^~ /media/ { proxy_pass http://backend.example.com; } location ^~ /static/ { proxy_pass http://backend.example.com; } How can I combine ...
24
votes
3answers
46k views

What should the order of DNS servers be for an AD Domain Controller and Why?

This is a Canonical Question about Active Directory DNS Settings. Related: What is Active Directory and how does it work? Assuming an environment with multiple domain controllers (...
15
votes
4answers
32k views

Nginx: How do I forward a http request to another port?

What I want to do is, When someone visit http://localhost/route/abc the server response exactly the same as http://localhost:9000/abc Now I configure my Nginx like this: location /route { ...
26
10
votes
1answer
28k views

How to disable RDP access for Administrator

We need to disallow the domain Administrator account to access a server directly via RDP. Our policy is to log on as regular user and then use Run As Admin functionallity. How can we set this up? The ...
13
votes
2answers
31k views

Creating SFTP users and jailing to chroot on CentOS - user authentication error

I've got a CentOs release 6.4 with Digital Ocean and would like to successfully create SFTP users and jail them to the user's own chroot home directory but I fear I'm making a mess of this. I've ...