linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Two Questions.  Thanks for all the help so far.
@ 2004-03-31  7:10 Scott@Charter
  2004-03-31  7:39 ` Andrey V. Romanchev
  2004-03-31  8:13 ` Luca Ferrari
  0 siblings, 2 replies; 3+ messages in thread
From: Scott@Charter @ 2004-03-31  7:10 UTC (permalink / raw)
  To: Linux-Admin-Group

[-- Attachment #1: Type: text/plain, Size: 288 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Scott Smallsreed.vcf --]
[-- Type: text/x-vcard; name="Scott Smallsreed.vcf", Size: 366 bytes --]

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:scott.smallsreed@mindspring.com
REV:20040331T071041Z
END:VCARD

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Two Questions.  Thanks for all the help so far.
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Andrey V. Romanchev @ 2004-03-31  7:39 UTC (permalink / raw)
  Cc: Linux-Admin-Group

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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Two Questions.  Thanks for all the help so far.
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Luca Ferrari @ 2004-03-31  8:13 UTC (permalink / raw)
  To: linux-admin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-31  8:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).