apply /etc/ttys changes on system

Teske, Devin Devin.Teske at fisglobal.com
Wed Jun 19 15:16:59 UTC 2013


> ________________________________________
> From: owner-freebsd-questions at freebsd.org [owner-freebsd-questions at freebsd.org] on behalf of Dan Nelson [dnelson at allantgroup.com]
> Sent: Wednesday, June 19, 2013 7:54 AM
> To: takCoder
> Cc: freebsd-questions at freebsd.org
> Subject: Re: apply /etc/ttys changes on system
> 
> 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* command. So,
> > as this command is not a good one to be used often, any ideas are really
> > appreciated. I couldn't find any other one so far..
> 
> Why is "kill -HUP 1" unsafe?  It's documented in init's manpage:
> 
>      Line status (on, off, secure, getty, or window information) may be
>      changed in the ttys(5) file without a reboot by sending the signal
>      SIGHUP to init with the command ``kill -HUP 1''.  On receipt of this
>      signal, init re-reads the ttys(5) file.
> 

Or "init q"
-- 
Devin

_____________
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.


More information about the freebsd-questions mailing list