Skip to contentSkip to conversation

Two Questions. Thanks for all the help so far.

DISCUSSION Scott@Charter 3 participants 3 messages Mar 31, 2004

lore
Share & tools
lore
#0 lore raw

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

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=QUOTED-PRINTABLE:3030 Chipmunk Dr.=0D=0AWashoe Valley, Nevada 89704=0D=0AUS EMAIL;PREF;INTERNET:[email protected]
REV:20040331T071041Z
END:VCARD

#1 lore raw
Quoted 1 line · 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

Signature · 1 line
Hi! I'm a .signature virus. Add me into your ~/.signature to help me spread!
#2 lore raw
In reply to Scott@Charter
Quoted 5 lines · On Wednesday 31 March 2004 09:10 Scott@Charter's cat walking on the keyboard…

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.

Quoted 3 lines

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

Signature · 2 lines
Luca Ferrari,
[email protected]