modify the agetty prompt

Joel Miller cheeziologist at
Sun Jan 16 10:03:07 PST 2005

roger21 wrote:
> sorry for the aguetty (and other mistakes) i ment agetty
> Benoît VILA a écrit :
>>i was wondering if it is possible to change the aguetty prompt, for now 
>>it is: "<my_hostname> login:" i would like to remove the hostname 
>>information or modify it

The initial prompt is defined with the PS1 environmental variable. If 
you have a \h in your PS1 variable then it will display the machine's 

Registered LFS User 6929
Registered Linux User 298182

More information about the lfs-support mailing list