Find the answer to your Linux question:
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.
  1. #1
    Just 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.

  2. #2
    Linux 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?

  3. #3
    Just 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.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux 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.

  6. #5
    Just 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •