|
From: | Paul Jarc |
Subject: | Re: launched by rungetty bash breaks terminal input interpretation upon runlevel change |
Date: | Thu, 06 Dec 2001 11:30:35 -0500 |
User-agent: | Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-redhat-linux-gnu) |
Dumas Patrice <dumas@centre-cired.fr> wrote: > I've read the init code related to utmp initialization, it is: > /* > * Initialize /var/run/utmp (only works if /var is on > * root and mounted rw) > */ > (void) close(open(UTMP_FILE, O_WRONLY|O_CREAT|O_TRUNC, 0644)); You can duplicate this in the proper place in your boot scripts easily enough: (umask 022; : > /var/run/utmp) paul
[Prev in Thread] | Current Thread | [Next in Thread] |