• [^] # Re: logname: no login name

    Posté par . En réponse au journal Liquid prompt — un prompt Bash adaptatif utile : déménagement. Évalué à 0.

    Voici un complément d'information qui pourra peut-être en intéresser quelques uns.

    LOGNAME

    The name of the user. This is an easy way for a user to get own username. However, programs must not trust this variable because it can be set to an arbitrary value.

    Both LOGNAME and USER should be set to the username.

    Examples:

    LOGNAME=tux

    LOGNAME=puffy

    USER

    This variable should have the same setting and purpose as LOGNAME.

    My 2 cents.