From owner-freebsd-questions Mon Nov 9 00:28:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA28050 for freebsd-questions-outgoing; Mon, 9 Nov 1998 00:28:07 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hotmail.com (f56.hotmail.com [207.82.251.68]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id AAA28045 for ; Mon, 9 Nov 1998 00:28:06 -0800 (PST) (envelope-from raha49@hotmail.com) Received: (qmail 25300 invoked by uid 0); 9 Nov 1998 08:27:51 -0000 Message-ID: <19981109082751.25299.qmail@hotmail.com> Received: from 195.96.144.10 by www.hotmail.com with HTTP; Mon, 09 Nov 1998 00:27:49 PST X-Originating-IP: [195.96.144.10] From: "Nana Ni." To: kushn@mail.kar.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Problem with ttys file MIME-Version: 1.0 Content-Type: text/plain Date: Mon, 09 Nov 1998 00:27:49 PST Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear Vladimir, Thank you very much. It worked. As I am not that much familiar with FreeBSD, I made a stupid mistake! I also thought that I had to umount a filesystem firs and then mount it again! Anyway, thanks alot! Nana (Raha) >> 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 >> ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message