On Sun, Sep 08, 2002 at 11:28:53PM +0200, Raffaele Sandrini wrote: > > I solved it with this script: > ----- > #!/bin/bash > > clear > exec /sbin/getty 38400 $1 > ----- > > And in the inittab i have then: > 1:2345:respawn:/root/bin/shell tty1 > > The disadvantage about this approach is that if i loose the "shell" script i > wont be able to log into my system without tweaking with a second system... > Why not put the `clear` in /etc/issue? That way as and when the user logs out, the screen is cleared and whatever is in issue comes on screen. I am attaching my /etc/issue. Try that.
Regards, -- Sridhar M.A. Save gas, don't use the shell.
[H[J _______________________________________________________________________________ [31m _,met$$$$$gg. [31m ,g$$$$$$$$$$$$$$$P. [31m ,g$$P"" """Y$$.". [31m ,$$P' `$$$. [31m ',$$P ,ggs. `$$b: [31m `d$$' ,$P"' . $$$ [31m $$P d$' , $$P [31m $$: $$. - ,d$$' [31m $$; Y$b._ _,d$P' [0m _, _, [31m,mb. [31m Y$$. `.`"Y$$$$P"' [0m `$$' `$$' [31m`Y$$P' [31m `$$b "-.__ [0m $$ $$ [31m`' [31m `Y$$b [0m $$ $$ _, _ [31m `Y$$. [0m ,d$$$g$$ ,d$$$b. $$,d$$$b.`$$' g$$$$$b.`$$,d$$b. [31m `$$b. [0m ,$P' `$$ ,$P' `Y$. $$$' `$$ $$ "' `$$ $$$' `$$ [31m `Y$$b. [0m $$' $$ $$' `$$ $$' $$ $$ ,ggggg$$ $$' $$ [31m `"Y$b._ [0m $$ $$ $$ggggg$$ $$ $$ $$ ,$P" $$ $$ $$ [31m `""""[0m $$ ,$$ $$. $$ ,$P $$ $$' ,$$ $$ $$ `$g. ,$$$ `$$._ _., $$ _,g$P' $$ `$b. ,$$$ $$ $$ `Y$$P'$$. `Y$$$$P',$$$$P"' ,$$. `Y$$P'$$.$$. ,$$. Debian GNU/\s (sarge) \n (\l) _______________________________________________________________________________