Re: apply /etc/ttys changes on system

2013-06-19 Thread Dan Nelson
In the last episode (Jun 19), takCoder said: Is there any way to apply /etc/ttys changes on system, except for *restarting system* and *running kill -HUP 1* command ? Due some reasons, i need to change tc value of some of my ttys, periodically. I'm looking for a safer way than *kill -HUP 1

RE: apply /etc/ttys changes on system

2013-06-19 Thread Teske, Devin
From: owner-freebsd-questi...@freebsd.org [owner-freebsd-questi...@freebsd.org] on behalf of Dan Nelson [dnel...@allantgroup.com] Sent: Wednesday, June 19, 2013 7:54 AM To: takCoder Cc: freebsd-questions@freebsd.org Subject: Re: apply /etc/ttys

Re: apply /etc/ttys changes on system

2013-06-19 Thread takCoder
aspects?? FWIW, I've used kill -HUP 1 on FreeBSD for reloading /etc/ttys since roughly 1997. No repercussions. Ever. Not once. It wasn't until sometime in the early 2000s that I found init(8) mentioning you could do init q instead, so since then I've done that. That's the experience! good to hear

apply /etc/ttys changes on system

2013-06-18 Thread takCoder
Hi all, Is there any way to apply /etc/ttys changes on system, except for *restarting system*and *running kill -HUP 1* command ? Due some reasons, i need to change tc value of some of my ttys, periodically. I'm looking for a safer way than *kill -HUP 1* command. So, as this command is not a good

/etc/ttys

2009-05-07 Thread Ian Fitzgerald
Dumb question because of dumb action: can anyone point me to a place where I can find a copy of /etc/ttys? - suitable for FreeBSD v7.2 Thanks ianf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: /etc/ttys

2009-05-07 Thread Steve Bertrand
Ian Fitzgerald wrote: Dumb question because of dumb action: can anyone point me to a place where I can find a copy of /etc/ttys? - suitable for FreeBSD v7.2 In it's entirety: http://ibctech.ca/ttys Steve ___ freebsd-questions@freebsd.org mailing

Re: /etc/ttys

2009-05-07 Thread Daniel Bye
On Thu, May 07, 2009 at 10:18:03PM +1000, Ian Fitzgerald wrote: Dumb question because of dumb action: can anyone point me to a place where I can find a copy of /etc/ttys? - suitable for FreeBSD v7.2 /usr/share/examples/etc/ttys -- Daniel Bye

Re: /etc/ttys

2009-05-07 Thread Boris Samorodov
On Thu, 07 May 2009 22:18:03 +1000 Ian Fitzgerald wrote: Dumb question because of dumb action: can anyone point me to a place where I can find a copy of /etc/ttys? - suitable for FreeBSD v7.2 /usr/share/examples/etc/ttys WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru

ask to borrow 6.1-RELEASE /etc/ttys

2006-12-08 Thread 张韡武
As every careless stupid user would do, today I have destroyed my /etc/ttys. Luckily I didn't reboot after I destroyed this file. (Yes I know I should backup before editing /etc/ttys, the fact is I didn't try to edit it at all, it's a typo that made me pipe the output of some app to this file

Re: ask to borrow 6.1-RELEASE /etc/ttys

2006-12-08 Thread Beech Rintoul
On Friday 08 December 2006 14:14, 张韡武 wrote: As every careless stupid user would do, today I have destroyed my /etc/ttys. Luckily I didn't reboot after I destroyed this file. (Yes I know I should backup before editing /etc/ttys, the fact is I didn't try to edit it at all, it's a typo that made

Re: ask to borrow 6.1-RELEASE /etc/ttys

2006-12-08 Thread Josh Paetzel
On Friday 08 December 2006 17:56, Beech Rintoul wrote: On Friday 08 December 2006 14:14, 张韡武 wrote: As every careless stupid user would do, today I have destroyed my /etc/ttys. Luckily I didn't reboot after I destroyed this file. (Yes I know I should backup before editing /etc/ttys

Efficacy vs. friendliness [Was: How to fix init - /etc/ttys?]

2006-09-07 Thread Pete Slagle
Gary Kline wrote: SOAPBOX Anyway, this is to the entire list: A week or so ago I loaned my 5.3 set to a non-geek friend who had occasionally been using RH. He brought the box of discs back and said it was too hard to install; that RH had a much easier

Re: Efficacy vs. friendliness [Was: How to fix init - /etc/ttys?]

2006-09-07 Thread Alex Zbyslaw
Pete Slagle wrote: Gary Kline wrote: SOAPBOX Anyway, this is to the entire list: A week or so ago I loaned my 5.3 set to a non-geek friend who had occasionally been using RH. He brought the box of discs back and said it was too hard to install; that

Re: Efficacy vs. friendliness [Was: How to fix init - /etc/ttys?]

2006-09-07 Thread Jerold McAllister
Alex Zbyslaw writes: Pete Slagle wrote: Gary Kline wrote: SOAPBOX Anyway, this is to the entire list: A week or so ago I loaned my 5.3 set to a non-geek friend who had occasionally been using RH. He brought the box of discs back and said it was too

Re: Efficacy vs. friendliness [Was: How to fix init - /etc/ttys?]

2006-09-07 Thread jdow
From: Pete Slagle [EMAIL PROTECTED] Gary Kline wrote: SOAPBOX Anyway, this is to the entire list: A week or so ago I loaned my 5.3 set to a non-geek friend who had occasionally been using RH. He brought the box of discs back and said it was too hard to install; that RH had a much easier

How to fix init - /etc/ttys?

2006-09-06 Thread Gary Kline
around I very rarely touch /etc/ttys; so why is 6.1 having this tantrum?? I'm lost gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions

Re: How to fix init - /etc/ttys?

2006-09-06 Thread Matthew Seaman
; can't poke around I very rarely touch /etc/ttys; so why is 6.1 having this tantrum?? I'm lost Because getty needs access to the /dev/tty* devices in order to function? /dev is a truly bizarre choice of mountpoint. Why not use /mnt, which is there solely to provide

Re: How to fix init - /etc/ttys?

2006-09-06 Thread Gary Kline
/usr/lib/Y in /usr I csn't use anything very complex; can't poke around I very rarely touch /etc/ttys; so why is 6.1 having this tantrum?? I'm lost Because getty needs access to the /dev/tty* devices in order to function? /dev is a truly bizarre choice

/etc/ttys typo?

2006-06-29 Thread [EMAIL PROTECTED]@mgedv.net
snip # status Must be on or off. If on, init will run the getty program on #the specified port. If the word secure appears, this tty #allows root login. # /snip but isn't it like, if i change from secure to insecure, that root is NOT allowed to log in anymore directly from this

RE: /etc/ttys typo?

2006-06-29 Thread [EMAIL PROTECTED]@mgedv.net
snip # status Must be on or off. If on, init will run the getty program on #the specified port. If the word secure appears, this tty #allows root login. # /snip but isn't it like, if i change from secure to insecure, that root is NOT allowed to log in anymore directly

Re: arbitrary programs in /etc/ttys [BETTER SOLUTION]

2004-11-06 Thread Geert Hendrickx
need to be educated about cu :-). So I put the following in /etc/ttys: ttyv0 /usr/bin/cu -l cuaa0 vt100 on secure But this gives me the following error when restarting init: init: getty repeating too quickly on port /dev/ttyv0, sleeping 30 secs Apparently cu can

Re: arbitrary programs in /etc/ttys

2004-10-19 Thread Geert Hendrickx
30 secs Apparently cu can not be started directly from /etc/ttys, can it? How else should I accomplish this? I think you are trying to start cu on a _virtual_ terminal (ttyvN). In my /etc/ttys the section with the virtual terminals is followed by these entries: # Serial

arbitrary programs in /etc/ttys

2004-10-18 Thread Geert Hendrickx
Hello, I'm trying to turn an old pc into a serial console. I can perfectly get a login on the other end of the line with cu -l cuaa0, but I would like to have this command started automatically at boot, so the users don't need to be educated about cu :-). So I put the following in /etc/ttys

Re: arbitrary programs in /etc/ttys

2004-10-18 Thread Benjamin Walkenhorst
Hello, Geert Hendrickx wrote: ttyv0 /usr/bin/cu -l cuaa0vt100 on secure But this gives me the following error when restarting init: init: getty repeating too quickly on port /dev/ttyv0, sleeping 30 secs Apparently cu can not be started directly from /etc/ttys, can it? How

Re: network type console and /etc/ttys

2004-03-09 Thread Gary W. Swearingen
there in the kernel, but maybe something fairly simple is missing from whatever reads /etc/ttys; eg, to know which NIC is to be the console port), and maybe there needs to be an ethernet-getty (similar to telnet, but which needn't even use IP addresses). And maybe a ethconsole addition to comconsole

Re: network type console and /etc/ttys

2004-03-09 Thread Matthew Seaman
, working just like a serial console. I'm sure the Ethernet support is mostly there in the kernel, but maybe something fairly simple is missing from whatever reads /etc/ttys; eg, to know which NIC is to be the console port), and maybe there needs to be an ethernet-getty (similar to telnet

Re: network type console and /etc/ttys

2004-03-09 Thread Gary W. Swearingen
was thinking that the serial port only got into the picture after the kernel was loaded and / was mounted so /etc/ttys could be read to configure the console, but you remind me that it comes into play during a mid-phase of the boot loading. So what I'm looking for would require a considerable change

network type console and /etc/ttys

2004-03-08 Thread Gary W. Swearingen
/etc/ttys has a field called type and says that network is an option, but I can't find that expanded upon in its manpage or in the Handbook or FAQ. I've tried googling, but my searches either return a small list with no relevant info or a huge list that seems to be all off topic. The file has

Re: network type console and /etc/ttys

2004-03-08 Thread Matthew Seaman
On Mon, Mar 08, 2004 at 01:07:09PM -0800, Gary W. Swearingen wrote: /etc/ttys has a field called type and says that network is an option, but I can't find that expanded upon in its manpage or in the Handbook or FAQ. I've tried googling, but my searches either return a small list

Re: My /etc/ttys file has been overwritten

2004-01-02 Thread Trey Sizemore
Malcolm Kay wrote: 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

My /etc/ttys file has been overwritten

2004-01-01 Thread Trey Sizemore
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

Re: My /etc/ttys file has been overwritten

2004-01-01 Thread T Kellers
/usr/share/examples/etc/ttys On Thursday 01 January 2004 09:59 pm, 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

Re: My /etc/ttys file has been overwritten

2004-01-01 Thread Trey Sizemore
T Kellers wrote: /usr/share/examples/etc/ttys Thank you! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: My /etc/ttys file has been overwritten

2004-01-01 Thread Malcolm Kay
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