Results 1 to 5 of 5
I'm running a redhat 9 box and need to change the login prompt to username for my mgetty users
My system doesn't have a /etc/gettydefs file and when I create ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-21-2003 #1Just Joined!
- Join Date
- May 2003
- Location
- London
- Posts
- 5
Changing login prompt to username
I'm running a redhat 9 box and need to change the login prompt to username for my mgetty users
My system doesn't have a /etc/gettydefs file and when I create it, it doesn't have any effect on the login prompt.
Can you help me please
M.
- 07-21-2003 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Login prompt to username? Do you mean the prompt that prompts for a username? I might be wrong, but isn't that compiled into mgetty?
- 07-22-2003 #3Just Joined!
- Join Date
- May 2003
- Location
- London
- Posts
- 5
Yes the prompt that prompts for the username. I need to change it from login to username. All the web searches I've done say that /etc/gettydefs or inserting a line into PAM should allow this change but I can't seem to get it working.
http://www.redhat.com/archives/pam-l.../msg00091.html
Thanks
M.
- 07-22-2003 #4Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Do you know C? In that case, if I were you, I'd look at the source for mgetty.
- 07-25-2003 #5Just Joined!
- Join Date
- May 2003
- Location
- London
- Posts
- 5
Thanks for your help, I contacted Redhat support and they told me to put the -p "username: " option after /sbin/mgetty in /etc/inittab
M.


Reply With Quote
