Originally Posted by cnewtonne
nice try. Close enough but I could not find away or setting in the file to control the login prompt. I reviewed all settings and none seems to apply (linuxmanpages.com/man5/login.defs.5.php). I can not believe this is not doeble on linux. There is got to be away.
Any other ideas or suggestions?
AFAIK, there are two programs that handles a login -- '*tty' (e.g. smalltty or whatever) started by init; and 'login' execed by 'tty' (both probably in /sbin/ ) -- which then execs the users specified shell. exec changes one command into another, thus maintaining the the same PID... while forks makes a copy with a new PID (which can then be changed by exec).
You could look at the man-pages for them for options or config-files to specify, but I fear the prompts are hard-wired into these two commands -- but you may be able to change them by spcifying another local and editing the files that provides translations... (will probably screw-up other commands then)