Two Questions. Thanks for all the help so far.

Two Questions. Thanks for all the help so far.

am 31.03.2004 09:10:41 von scott.smallsreed

This is a multi-part message in MIME format.

------=_NextPart_000_006C_01C416AC.38E58B50
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

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 ?

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

------=_NextPart_000_006C_01C416AC.38E58B50
Content-Type: text/x-vcard;
name="Scott Smallsreed.vcf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Scott Smallsreed.vcf"

BEGIN:VCARD
VERSION:2.1
N:Smallsreed;Scott
FN:Scott Smallsreed
TEL;HOME;VOICE:775-849-8411
TEL;HOME;FAX:775-849-8412
ADR;HOME:;;3030 Chipmunk Dr.;Washoe Valley;Nevada;89704;US
LABEL;HOME;ENCODING=3DQUOTED-PRINTABLE:3030 Chipmunk Dr.=3D0D=3D0AWashoe =
Valley, Nevada 89704=3D0D=3D0AUS
EMAIL;PREF;INTERNET:scott.smallsreed@mindspring.com
REV:20040331T071041Z
END:VCARD

------=_NextPart_000_006C_01C416AC.38E58B50--

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Two Questions. Thanks for all the help so far.

am 31.03.2004 09:39:06 von negative

Scott@Charter wrote:
> 2) What would you do to find out what services are running on ip 1.2.3.4?

nmap 1.2.3.4

--
Hi! I'm a .signature virus. Add me into your ~/.signature to help me spread!
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Two Questions. Thanks for all the help so far.

am 31.03.2004 10:13:15 von Luca Ferrari

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
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html