On Thursday 27 April 2006 13:49, Matthias Julius wrote: > Torquil Macdonald Sørensen <[EMAIL PROTECTED]> writes: > > I have some problems with the 'date' command: > > > > 'hwclock --show' outputs 08:00 > > 'date' (as user root) outputs 08:00 > > 'date' (as user tmac) outputs 06:00 > > > > and the KDE clock (running as user tmac) outputs 08:00 > > > > What is responsible for the incorrect output when running 'date' as user > > tmac? My /etc/default/rcS contains 'UTC=no'. > > Do you set the TZ environment variable anywhere in your ~/.bashrc, > ~/.bash_profile or so?
No, I have the following environment variables set: $_ $HISTCONTROL $OPTERR $BASH $HISTFILE $OPTIND $BASH_ARGC $HISTFILESIZE $OSTYPE $BASH_ARGV $HISTSIZE $PAGER $BASH_COMMAND $HOME $PATH $BASH_LINENO $HOST $PIPESTATUS $BASH_SOURCE $HOSTNAME $PPID $BASH_SUBSHELL $HOSTTYPE $PROMPT_COMMAND $BASH_VERSINFO $IFS $PS1 $BASH_VERSION $KDE_FULL_SESSION $PS2 $CHESSDIR $KDE_MULTIHEAD $PS4 $COLORFGBG $KONSOLE_DCOP $PWD $COLORTERM $KONSOLE_DCOP_SESSION $RANDOM $COLUMNS $LANG $SECONDS $COMP_WORDBREAKS $LANGUAGE $SESSION_MANAGER $DESKTOP_SESSION $LC_CTYPE $SHELL $DIRSTACK $LESS $SHELLOPTS $DISPLAY $LESSCHARSET $SHLVL $DM_CONTROL $LESSCLOSE $SKYPE_RESOURCES_PATH $EDITOR $LESSOPEN $SSH_AGENT_PID $EUID $LINENO $SSH_AUTH_SOCK $FONTSERVER $LINES $SVN_EDITOR $GNUSTEP_USER_ROOT $LOGNAME $TERM $GROUPS $LS_COLORS $UID $GS_LIB $LYNX_CFG $USER $GTK2_RC_FILES $MACHTYPE $WINDOWID $GTK_RC_FILES $MAILCHECK $XCURSOR_THEME $HISTCMD $MOZ_DISABLE_PANGO $XDM_MANAGED - Torquil