Subject: Re: how can i disable single-user login
To: Andrew Brown <atatat@atatdot.net>
From: Mirko Thiesen <thiesi@NetWork23.Sytes.NET>
List: netbsd-help
Date: 05/29/2001 10:50:39
On Tue, 29 May 2001, Andrew Brown wrote:
> >> i had netbsd 1.4.2 and 1.5 installed and i want disable single-user login
> >> when boot the server use boot -s.i search lots of Documents and had no answer
> >> maybe someone can hel me?
> >
> >Just mark the console as "secure" in /etc/ttys.
>
> um...i think you mean "insecure". that causes init to ask for a
> password before saying
>
> Enter pathname of shell or RETURN for sh:
As far as I understood the original poster this is what he doesn't want.
However, the thing is that with a console marked as "insecure" in
/etc/ttys you are prompted for a password when booting into single-user,
and with a console marked "secure" you are not asked for anything except
the pathname of your shell.
Bye, K&K,
T-Zee
--
Thiesi@I.am - Powered by NetBSD! - Amiga: Alive and Kicking!
Tel.: ++49-(0)171-416 05 09 Fax: ++49-(0)171-134 16 05 09
Mirko Thiesen, P.O. Box 26 03 54, D-13413 Berlin, W. Germany
"We're with you all the way, mostly"