question about ttys
Matthew Seaman
m.seaman at infracaninophile.co.uk
Fri Jul 28 07:24:56 UTC 2006
Mihai Velicu wrote:
> Hi !
>
>
>
> I'm new in FreeBSD and I made a mistake.
>
> In the file ttys I changed to insecure all the lines and now I cannot log on
> even as root.
>
> Only in single user I can log on but I cannot modify the file ttys is said
> something this is a read only file system.
>
> Please tell me how I can remediate my error, how I can modify back the file
> ttys ?
>
> If is possible of course.
Sure it's possible. Boot into single user, as you did before, then
fsck and mount all the partitions on your machine:
# fsck -p
# mount -a
You should now be able to edit /etc/ttys, although just copying in a default
one from /usr/src/etc/etc_i386/ttys (assuming you're on an IA32 machine)
might be easier.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. Flat 3
7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW, UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060728/1c97d88d/signature.pgp
More information about the freebsd-questions
mailing list