public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: kashani <kashani-list@badapple.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Reconciling users and services
Date: Mon, 19 Jan 2009 10:39:06 -0800	[thread overview]
Message-ID: <4974C8CA.2040203@badapple.net> (raw)
In-Reply-To: <49bf44f10901191033j5ff29d9dv207d76d3e40c3f65@mail.gmail.com>

Grant wrote:
>>> mysql only needs to connect to a daemon running on the same system,
>>> and I think it does so via a unix socket as opposed to tcp.  I can see
>>> from netstat that /var/run/mysqld/mysqld.sock is connected, there is
>>> no mention of a tcp mysql connection, and nmap does not show a mysql
>>> port to be open.  Is there anything else I should do as far as locking
>>> down mysql?  I'm the only one with shell access to the system.
>> mysql should be running as a non-root user (probably mysql) and for what you
>> use, should be listening on localhost only. If you need to connect over the
> 
> How can I check to make sure mysql is only listening to localhost?  It
> doesn't show up with nmap.
> 
> - Grant

sudo netstat -ptln

It' also works without sudo, but then you don't see the process 
associated with the open TCP port.

kashani



  reply	other threads:[~2009-01-19 18:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-18  7:54 [gentoo-user] Reconciling users and services Alan McKinnon
2009-01-18 18:12 ` Grant
2009-01-18 21:09   ` Alan McKinnon
2009-01-19 18:33     ` Grant
2009-01-19 18:39       ` kashani [this message]
2009-01-19 19:45         ` Grant
  -- strict thread matches above, loose matches on Subject: below --
2009-01-17 22:09 Grant
2009-01-17 23:47 ` Volker Armin Hemmann
2009-01-18  2:45 ` Norberto Bensa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4974C8CA.2040203@badapple.net \
    --to=kashani-list@badapple.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox