Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 1998 23:45:08 +0200 (EET)
From:      Vladimir Kushnir <kushn@mail.kar.net>
To:        "Nana Ni." <raha49@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Problem with ttys file
Message-ID:  <Pine.BSF.4.05.9811082342230.1182-100000@kushnir.kiev.ua>
In-Reply-To: <19981108130117.14499.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9811082342230.1182-100000>