Subject: Re[2]: how can i disable single-user login
To: None <netbsd-help@netbsd.org>
From: deepin <deepin@21cn.com>
List: netbsd-help
Date: 05/29/2001 21:08:56
thanks everyone,
I had resolve this problem,just mark "inscure"
thanks again and i love netbsd and all netbsd-users :)



Hello Mirko,

Tuesday, May 29, 2001, 4:50:39 PM, you wrote:

MT> 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:

MT> As far as I understood the original poster this is what he doesn't want.
MT> However, the thing is that with a console marked as "insecure" in
MT> /etc/ttys you are prompted for a password when booting into single-user,
MT> and with a console marked "secure" you are not asked for anything except
MT> the pathname of your shell.

MT> Bye, K&K,
MT> T-Zee



-- 
Best regards,
 deepin                            mailto:deepin@21cn.com