On Thursday 29 July 2004 09:27, Larry Nguyen wrote: > > > > * ne^'u du`ng KDM o+? che^' ddo^. user bi`nh thu+o+`ng, double click va`o > > file RPM, nha^.p pw cho root ru`i cha.y, thi` xunikey ko^ la`m vie^.c > > (tha^.m chi' sau khi kho+?i ddo^.ng la.i x-server) > > Ca'i na`y ho+i ngo^. . Ne^'u dda~ ho?i root va` sudo ro^`i thi` dda'ng ly' > ca'c bie^'n va^~n ddu+o+.c export trong /etc/profile. Co' le~ cho cha('c > a(n mi`nh se~ no'i user ca`i = root (hoa(.c se~ xem la.i sau. DDang test > vnlinuxCD ;) ) >
Em ca`i o account KDM root duong hoang Anh xem cai' file profile em di'nh k`em, ko thay' may' cai' setting ma` anh noi' :(( the^m mo.t phu't bu`on` )): -- Ky Anh
# /etc/profile -*- Mode: shell-script -*- # (c) MandrakeSoft, Chmouel Boudjnah <[EMAIL PROTECTED]> loginsh=1 # Users generally won't see annoyng core files [ "$UID" = "0" ] && ulimit -S -c 1000000 > /dev/null 2>&1 if ! echo ${PATH} |grep -q /usr/X11R6/bin ; then PATH="$PATH:/usr/X11R6/bin" fi if [ "$UID" -ge 500 ] && ! echo ${PATH} |grep -q /usr/games ; then export PATH=$PATH:/usr/games fi umask 022 USER=`id -un` LOGNAME=$USER MAIL="/var/spool/mail/$USER" HISTCONTROL=ignoredups HOSTNAME=`/bin/hostname` HISTSIZE=1000 if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then INPUTRC=/etc/inputrc fi # some old programs still use it (eg: "man"), and it is also # required for level1 compliance for LI18NUX2000 NLSPATH=/usr/share/locale/%l/%N export PATH PS1 USER LOGNAME MAIL HOSTNAME INPUTRC NLSPATH export HISTCONTROL HISTSIZE for i in /etc/profile.d/*.sh ; do if [ -x $i ]; then . $i fi done unset i