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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
;
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
/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
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
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
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
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
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
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
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
, 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
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
/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
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
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
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
/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
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]
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
34 matches
Mail list logo