Auszug aus /etc/profile (SuSE):
�
#PS1='`hostname`:`pwd`# '
if [ "$SHELL" = "/usr/bin/pdksh" -o "$SHELL" = "/usr/bin/ksh" -o "$SHELL" =
"/bin/ksh" ]; then
��� PS1="! $ "
elif [ -n "$ZSH_VERSION" ]; then
��� PS1="%m:%~%# "
elif [ "$SHELL" = "/usr/bin/ash" -o "$SHELL" = "/bin/ash" ]; then
��� PS1="$ "
elif [ -n "$BASH_VERSION" ] ; then
��� # set -P
��� set -p
��� if test "$UID" = 0 ; then
������� PS1="\h:\w # "
��� else
������� PS1="\u@\h:\w > "
��� fi
else
��� PS1='\h:\w \$ '
��� #PS1='\u \w \$ '
fi
�
Gru�
Matthias�

�-----Urspr�ngliche Nachricht-----
Von: Sylvain FAVRE [mailto:[EMAIL PROTECTED]]
Gesendet am: Montag, 26. April 1999 13:16
An: Chris Waugh
Cc: '[EMAIL PROTECTED]' <mailto:'[EMAIL PROTECTED]'> 
Betreff: Re: in.telnetd & /bin/login - Changing login: prompt
Chris Waugh wrote: 

Hello, 

Does anyone know where I can set the login prompt (output after 
/etc/issue.net) to something other than 'login:' 


I need to for a particular purpose on one of the linux 5.2 hosts we run. 


I have checked the source code for both programs from the .src.rpm files 
and cannot work it out. The *getty equivalents are much more obvious. 
The man pages for in.telnetd says 'The source code is not 
comprehensible.' Mmmmm. 


Rgds 


Chris 
- 
To unsubscribe from this list: send the line "unsubscribe linux-net" in 
the body of a message to [EMAIL PROTECTED]

For the getty , if you are using mgetty , you can change it with the "-p"
option or in config file. 

For telnet, I don't know where it is , but I think it is in telnetd , or
login command ( see the source ) 

--�

-----------------------------------------------

Sylvain FAVRE���������� [EMAIL PROTECTED]

����������������������� [EMAIL PROTECTED]
� 

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to