modify the agetty prompt

Joel Miller cheeziologist at mail.isc.rit.edu
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 :
> 
>>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.

-- 
Registered LFS User 6929
Registered Linux User 298182




More information about the lfs-support mailing list