modify the agetty prompt

roger21 roger21 at
Sun Jan 16 10:49:58 PST 2005

Joel Miller a écrit :
> roger21 wrote:
>> sorry for the aguetty (and other mistakes) i ment agetty
>> Benoît VILA a écrit :
>>> hi,
>>> 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
> <snip>
> 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 
> hostname.
no, i talk about the agetty prompt not the bash (or other shells) prompt

More information about the lfs-support mailing list