From: Luca Ferrari <fluca1978@virgilio.it>
To: linux-admin@vger.kernel.org
Subject: Re: Two Questions. Thanks for all the help so far.
Date: Wed, 31 Mar 2004 10:13:15 +0200 [thread overview]
Message-ID: <200403311013.16660.fluca1978@virgilio.it> (raw)
In-Reply-To: <006f01c416ef$47817dc0$020aa8c0@Scott>
On Wednesday 31 March 2004 09:10 Scott@Charter's cat walking on the keyboard
wrote:
> 1) How would you set up a secure passwordless login to a machine?
>
> Am I on the right track with something like this: user1:x:100:10:Joe
> User1:/home/user1:/dev/null ?
>
You can change /dev/null to /sbin/nologin, see man nologin.
> 2) What would you do to find out what services are running on ip 1.2.3.4?
>
> Would this work? netstat -a | grep 1.2.3.4
It is better to use nmap:
nmap -O 1.2.3.4
(better as root).
Luca
--
Luca Ferrari,
fluca1978@virgilio.it
prev parent reply other threads:[~2004-03-31 8:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-31 7:10 Two Questions. Thanks for all the help so far Scott@Charter
2004-03-31 7:39 ` Andrey V. Romanchev
2004-03-31 8:13 ` Luca Ferrari [this message]
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=200403311013.16660.fluca1978@virgilio.it \
--to=fluca1978@virgilio.it \
--cc=linux-admin@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).