From owner-freebsd-hackers Sun Feb 4 20:51:29 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 797DE37B503 for ; Sun, 4 Feb 2001 20:51:10 -0800 (PST) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.1/8.11.1) with SMTP id f154oqh78382; Sun, 4 Feb 2001 23:50:52 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 4 Feb 2001 23:50:51 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Dan Feldman Cc: Zhiui Zhang , freebsd-hackers@FreeBSD.ORG Subject: Re: No-passwd account and reboot records In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you're using sshd for user login, you'll need to change: PermitEmptyPasswords no to PermitEmptyPasswords yes In /etc/ssh/sshd_config, and restart sshd. My suspicion is that this is an inconsistent choice across various login methods, and that the default should be "yes", even thought that allows people to shoot themselves more easily. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Sun, 4 Feb 2001, Dan Feldman wrote: > Of course. > > If you want no password, just set it to blank. This is a very poor idea > for anything not behind a heavy firewall, by the way. If you use adduser, > you'll be warned. > > Reboot times are stored in wtmp, which can be viewed along with login > times with the last command. Alternatively, it should be trivial to modify > /etc/rc.local (or /usr/local/etc/rc.d) to record the time of each bootup. > Shutdown recording should be simple too. > > Hope I'm making sense right now, > > -- Dan Feldman > > On Sun, 4 Feb 2001, Zhiui Zhang wrote: > > > > > Is it possible to create a no-password account? Is it possible to record > > in a file the times of each reboots? If so, how to do this? Thanks. > > > > -Zhihui > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message