Date: Sun, 4 Feb 2001 23:50:51 -0500 (EST) From: Robert Watson <rwatson@FreeBSD.ORG> To: Dan Feldman <protozoa@ghs.ssd.k12.wa.us> Cc: Zhiui Zhang <zzhang@cs.binghamton.edu>, freebsd-hackers@FreeBSD.ORG Subject: Re: No-passwd account and reboot records Message-ID: <Pine.NEB.3.96L.1010204234940.74962H-100000@fledge.watson.org> In-Reply-To: <Pine.BSF.4.21.0102042010280.28010-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1010204234940.74962H-100000>