Rahul Jindal forced the electrons to say:
> I hope you rememer telling me about patching mingetty.
> 
> but a very stupid question is how do i do that?
> there isn't a mingetty.c in my system ony one /sbin/mingetty.

Please - on the list, not personal mail. I am not a helpdesk for linux.

You need the source code of mingetty - if you are on an RPM based
system, you can find the source RPM either in your distribution
CDs, your distribution's FTP site and its mirrors, or on
rpmfind.net. For RedHat 6.2, the source RPM is available from
ftp://ftp.redhat.com/redhat/redhat-6.2/SRPMS/SRPMS

rpm -i mingetty-whatever.src.rpm
rpm -bp /usr/src/redhat/SPECS/mingetty.spec
cd /usr/src/redhat/BUILD/mingetty-<version>

Edit the file mingetty.c. In particular, look for the line that looks like

#define LOGIN " login: "

and change the stuff within quotes to whatever you like. Then run

make install

in that directory. Go to an unused console and try control-D to see if
your changes have taken effect.

I'm sure someone will tell you about non-RPM distributions.

Binand

Homework: Try changing the "press ctrl-alt-del to logon" window... 


----------------------------------------------
LIH is all for free speech.  But it was created
for a purpose.  Violations of the rules of
this list will result in stern action.

Reply via email to