From owner-freebsd-questions Tue Oct 30 2:30:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.cz (diana.mobil.cz [195.39.16.12]) by hub.freebsd.org (Postfix) with ESMTP id 12BC637B406 for ; Tue, 30 Oct 2001 02:30:42 -0800 (PST) Received: from ester.mobil.cz (ester.mobil.cz [194.213.62.23]) by mobil.cz (8.11.6/8.11.0) with ESMTP id f9UAUeK23919 for ; Tue, 30 Oct 2001 11:30:40 +0100 Received: from roman.mobil.cz ([10.2.0.89]) by ester.mobil.cz (Lotus Domino Release 5.0.7) with ESMTP id 2001103011272456:4538 ; Tue, 30 Oct 2001 11:27:24 +0100 Received: (from roman@localhost) by roman.mobil.cz (8.11.6/8.11.6) id f9UAZOC09232 for freebsd-questions@FreeBSD.org; Tue, 30 Oct 2001 11:35:24 +0100 (CET) (envelope-from neuhauser@mobil.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mobil.cz using -f Date: Tue, 30 Oct 2001 11:35:24 +0100 From: Roman Neuhauser To: freebsd-questions@FreeBSD.org Subject: Re: How to disable boot -s ?? Message-ID: <20011030113524.B9084@roman.mobil.cz> Mail-Followup-To: freebsd-questions@FreeBSD.org References: <002201c1612c$e4950030$1562640a@dmn> Mime-Version: 1.0 In-Reply-To: <002201c1612c$e4950030$1562640a@dmn> User-Agent: Mutt/1.3.23i X-MIMETrack: Itemize by SMTP Server on ester/Mobil(Release 5.0.7 |March 21, 2001) at 10/30/2001 11:27:24 AM, Serialize by Router on ester/Mobil(Release 5.0.7 |March 21, 2001) at 10/30/2001 11:27:31 AM, Serialize complete at 10/30/2001 11:27:31 AM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: "Sudirman Hassan" > To: > Subject: How to disable boot -s ?? > Date: Tue, 30 Oct 2001 18:23:18 +0800 > > Hi, > > I got a lab session just now on tcp/ip using freebsd box in comp lab. > I become very irrirated to the way system admin ( windows admin actually ) > set the box so I just trying boot -s. mount -a and then copy bin/sh into > other directory where I can access as a user later ( with other name > called game *grin* and set suid and well as guid. > > Whenever I boot back, it seem what I did working, I can install kde2 and > as well other app I like. > > Seeing what I can done in first try, I become horror that somebody else > might come to my dorm, and do the same to my pc. How can I disable boot -s? > > Thanks. > - deman roman@roman ~ > cat /etc/ttys # status Must be on or off. If on, init will run the getty program on # the specified port. If the word "secure" appears, this tty # allows root login. # # name getty type status comments # # If console is marked "insecure", then init will ask for the root # password # when going to single-user mode. console none unknown off secure -- FreeBSD 4.4-STABLE 11:31AM up 6 days, 22:14, 6 users, load averages: 0.00, 0.03, 0.01 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message