Re: My /etc/ttys file has been overwritten

From: Malcolm Kay (malcolm.kay_at_internode.on.net)
Date: 01/02/04

  • Next message: Scott W: "Re: What do you use?"
    To: Trey Sizemore <trey@fastmail.fm>, FreeBSD Questions <freebsd-questions@freebsd.org>
    Date: Fri, 2 Jan 2004 16:03:28 +1030
    
    

    On Fri, 2 Jan 2004 13:29, Trey Sizemore wrote:
    > I edited my /etc/ttys file in Easy Editor and then saved and exited (or
    > so I thought) to enable kdm. When I rebooted, my machine would hang. I
    > went back into /etc/ttys and noticed that the file is now empty!!
    >
    > What is the best way to replace the file. I'm not aware of a default
    > file anywhere. Will I have to manually recreate it, and if so, where do
    > I get the data?
    >

    # find /usr/src -name ttys
    yields:
       /usr/src/etc/etc.alpha/ttys
    and
       /usr/src/etc/etc.i386/ttys

    I imagine the latter is what you want ;-)

    Malcolm Kay
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Scott W: "Re: What do you use?"

    Relevant Pages

    • My /etc/ttys file has been overwritten
      ... I edited my /etc/ttys file in Easy Editor and then saved and exited (or ... so I thought) to enable kdm. ... When I rebooted, my machine would hang. ... To unsubscribe, ...
      (freebsd-questions)
    • Re: My /etc/ttys file has been overwritten
      ... > so I thought) to enable kdm. ... When I rebooted, my machine would hang. ... Will I have to manually recreate it, and if so, where do ... To unsubscribe, ...
      (freebsd-questions)
    • Re: My /etc/ttys file has been overwritten
      ... Malcolm Kay wrote: ... >>so I thought) to enable kdm. ... When I rebooted, my machine would hang. ... To unsubscribe, ...
      (freebsd-questions)