hai,
i copied the content given by u into the redhat-release but the
colors are not coming it showing all the charecters
and also i didnt find the MOTD_FILE in login.defs
help me!!
vamsi
On Sun, 3 Feb 2002, USM Bish wrote:
> On Sun, Feb 03, 2002 at 07:32:14PM +0530, Vamsi Krishna K-RollNo.2000-134 wrote:
> >
> > i want to make a blinking welcome message with a lot of colors
> > on the logon screen where we type login and password.
> >
>
> Not very difficult, but you need to know ANSI escape sequences.
> Please do a "cat filename" of the portion below for a look-see:
>
> ---------------<snip>--------------------------
> [H[J
> Welcome to [31;40;5mFLASHING.red.net[m
> User : [32;40mMrGreen[m
> Date : [34;40;1mSunday, 03 February 2002[m
> ---------------</snip>-------------------------
>
> > i know that if we edit /etc/redhat-release file and write any
> > text in it then it will appear to all the users who come to
> > login on my p.c now i just dont want text but i want this text
> > to be colored and also to blink
> >
>
> I am not quite sure about RH, but the file which is printed is
> determined by the MOTD_FILE variable in /etc/login.defs. This is
> a single/multi file list, seperated by colons ":". Perhaps in RH
> the MOTD_FILE is pointed to /etc/redhat-release ... You need not
> edit /etc/redhat-release, merely make an alternate file and add
> it to the MOTD_FILE list in /etc/login.defs.
>
> HTH
>
> Bish
>
> --
> :
> ####[ Linux One Stanza Tip (LOST) ]###########################
>
> Sub : man2txt LOST #135
>
> To convert man pages to text format (which may be necessary if
> printouts are necessary, or you want to clip a large section):
> $man [progname] | col -b > progname.man.txt
>
> ####<[EMAIL PROTECTED]>####################################
> :
>
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help
>
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help