From owner-freebsd-hackers Sun Feb 4 20:18:49 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ghs.ssd.k12.wa.us (locutus.ghs.ssd.k12.wa.us [216.186.55.25]) by hub.freebsd.org (Postfix) with ESMTP id 42A8F37B401 for ; Sun, 4 Feb 2001 20:18:30 -0800 (PST) Received: from localhost (protozoa@localhost) by ghs.ssd.k12.wa.us (8.9.3/8.9.3) with ESMTP id UAA28060; Sun, 4 Feb 2001 20:18:10 -0800 (PST) (envelope-from protozoa@ghs.ssd.k12.wa.us) Date: Sun, 4 Feb 2001 20:14:10 -0800 (PST) From: Dan Feldman To: Zhiui Zhang Cc: 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 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