[1029] in netbsd-help mailing list archive
Re: remote logins
daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Sep 11 00:06:47 1996
To: Joshua Weaver <weaverj@MIT.EDU>
Cc: netbsd-help@MIT.EDU
In-Reply-To: Your message of "Tue, 10 Sep 1996 23:42:39 EDT."
<199609110342.XAA00296@jaw.MIT.EDU>
Date: Wed, 11 Sep 1996 00:06:39 EDT
From: Greg Hudson <ghudson@MIT.EDU>
> How do I prevent other people with valid athena accounts from
> logging into my machine.
For remote logins, you should already have an /etc/noremote which
prevents this.
For local logins, run "touch /etc/nocreate" as root, and only people
in the passwd file will be able to log in.
(Use "vipw" to edit the passwd database. "hesinfo username passwd"
will give most of a valid passwd line, but it's missing three of the
fields used in the NetBSD master.passwd file; you can fill them in by
looking at other lines.)
> Better question: Should I be worried about this?
That really depends on who has physical access to your machine and how
paranoid you are.
> Also, how do I setup ftp for my machine?
If you mean anonymous FTP, add an account for "ftp" in the passwd
database, create a /home/ftp directory (owned by root, not ftp), and
copy in a bin/ls (should live in /home/ftp/bin/ls). I think that's
all you need for starters.