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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux