[Eisfair] mail 1.15.1 Dokumentation

Helmut Pohl helmut_pohl at arcor.de
Mo Mär 22 20:20:57 CET 2021


Hallo Marcus,

Am 22.03.2021 um 19:24 schrieb Marcus Röckrath:
> Hallo Helmut,
> 
> Helmut Pohl wrote:
> 
>>> cat /etc/profile.d/lang.sh
>>>
>>
>> #--------------------------------------------------------------------
>> #  locale settings generated by locales version: 3.0.0
>> #
>> #  Do not edit this file, edit /etc/config.d/locales
>> #  Creation Date: 2021-03-22 Time: 18:35:48
>> #--------------------------------------------------------------------
>> LANG="C"
>> export LANG
>> LC_CTYPE="de_DE.UTF-8"
>> export LC_CTYPE
> 
> Ok, passt.
> 
> cat /etc/profile


#----------------------------------------------------------------------------
# /etc/profile - global profile
#
# Do not edit this file
# wrote your own settings to /etc/profile.d/
#
# Creation   :  2001-08-08 fm
# Last Update:  2020-01-31 hbfl
#
# Copyright (c) 2001-2020 the eisfair team, team(at)eisfair(dot)org
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#----------------------------------------------------------------------------
umask 022
cd $HOME            # for ash: prevent call of /bin/pwd

case "${TERM}" in
xterm*|putty*)
    TERM="${TERM}"
    ;;
*)
    TERM='linux'
    ;;
esac
export TERM

version=`cat /etc/version`

echo
/usr/bin/colecho "Welcome to eisfair!" gn
echo "base     : $version"
echo "eiskernel: $(uname -r)"
echo

PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin; export PATH

if [ "$LOGNAME" = "root" ]
then
    PS1="`hostname` # "
else
    PS1="`hostname` > "
fi
MAIL=/var/spool/mail/$LOGNAME
export PS1 MAIL

if [ -f /run/environment ]
then
    . /run/environment
    for j in `grep '^[A-Za-z].*=' /run/environment | sed 's/=.*//g'`
    do
        export $j
    done
fi
if [ "$LOGNAME" != "root" ]
then
    PATH=$PATH:.
fi

#
# Source profile extensions for certain packages, the super
# may disable some of them by setting the sticky bit.
#
if test -d /etc/profile.d -a -z "${PROFILEREAD}"
then
    for s in /etc/profile.d/*.sh
    do
        test -r ${s} -a ! -k ${s} && . ${s}
    done
    unset s
fi

#
# Avoid overwriting user settings if called twice
#
if test -z "${PROFILEREAD}"
then
    readonly PROFILEREAD=true
    export PROFILEREAD
fi

alias l='ls -la'
alias lt='ls -lat'
alias m='more'
alias .='pwd'


> 
> Ist LC_CTYPE gesetzt, wenn du sich als anderer User anmeldest?
> 
als root ist
LC_CTYPE=de_DE.UTF-8
LANG=C
TERM=putty

als anderer User:
LC_CTYPE=de_DE.UTF-8
LANG=C
TERM=putty

Es handelt sich um einen eis1, auf einem eis64 ist alles ok.

Gruß,
Helmut



Mehr Informationen über die Mailingliste Eisfair