From owner-freebsd-questions Sun Nov 8 14:13:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA27620 for freebsd-questions-outgoing; Sun, 8 Nov 1998 14:13:57 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.kar.net (n177.cdialup.kar.net [195.178.130.177]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA27581 for ; Sun, 8 Nov 1998 14:13:35 -0800 (PST) (envelope-from kushn@mail.kar.net) Received: from localhost (volodya@localhost) by mail.kar.net (8.9.1/8.8.8) with ESMTP id XAA01204; Sun, 8 Nov 1998 23:45:09 +0200 (EET) (envelope-from kushn@mail.kar.net) Date: Sun, 8 Nov 1998 23:45:08 +0200 (EET) From: Vladimir Kushnir X-Sender: volodya@kushnir.kiev.ua To: "Nana Ni." cc: freebsd-questions@FreeBSD.ORG Subject: Re: Problem with ttys file In-Reply-To: <19981108130117.14499.qmail@hotmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 8 Nov 1998, Nana Ni. wrote: > Hi, > > I haev mistakenly changed all of the terminals including console from > "secure" to "insecure" in /etc/ttys file. This file can be written only > by root. There has already been a problem in "su", i.e. because of not > deactivating the Kerberose completely, I can't [and couldn't] do "su" > from another account. So I need to access the system by root to edit the > ttys file, but I can't access to system by root (becasue console is > insecure and su doesn't work!). > I tried to edit the file by booting the machine in single user mode, but > as it mounts "/" file system as read-only file system, it isn't possible > to edit the /etc/ttys. > > Please let me know how I can get rid of it, if anybody has any idea! > You can simply "mount /" while still in single user mode. That should remount "/" RW. Hope this helps, Vladimir > > Raha > ===========================|======================= Vladimir Kushnir | kushn@mail.kar.net, | Powered by FreeBSD kushnir@ap3.bitp.kiev.ua | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message