When I run
login command on debian, I get:
hostname login: _
on RHEL5, Solaris or HP-UX I get:
I need to be able to customize
password: prompts it on a Linux box. I can recompile the package, but is there a better (easier) way to do it?
I was looking for some PAM config option but didn't find anything.
I know it can be done with the pam_set_item() function using
PAM_USER_PROMPT constant, but is there a way to do such customization in a
/etc/pam.d/* config file?
Thank you in advance.
I need this to customize telnet username and password prompt. However,
telnetd is using
/bin/login for that prompt, this is why I asked for
login customization in this question.