solaris .profile 설정
paswd -e 명령으로 ksh로 로그인 쉘을 변경
# passwd -e
old shell : /sbin/sh
new shell : /bin/ksh <= 변경
기본 profile 파일에서 .profile을 생성
# cp /etc/skel/local.profile $HOME/.profile
vi 에디터로 열고 아래 내용을 붙여넣는다
# vi .profile
================================================================
#
# Copyright (c) 2001 by Sun Microsystems, Inc.
# All rights reserved.
#
# ident "@(#)local.profile 1.10 01/06/23 SMI"
#stty istrip
stty erase ^H
#stty kill ^U
#stty intr ^C
#stty eof ^D
ENV=/.kshrc
EDITOR=vi
PATH=/usr/local/bin:/usr/sadm/admin/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin:/usr/sbin:/sbin:/bin:/usr/bin:/usr/ucb:/etc:.
MANPATH=/usr/share/man:/usr/dt/man:/usr/local/man/usr/openwin/share/man:/usr/man
export PATH ENV EDITOR DISPLAY MANPATH
#
# If possible, start the windows system
#
if [ "`tty`" = "/dev/console" ] ; then
if [ "$TERM" = "sun" -o "$TERM" = "sun-color" -o "$TERM" = "AT386" ]
then
if [ ${OPENWINHOME:-""} = "" ] ; then
OPENWINHOME=/usr/openwin
export OPENWINHOME
fi
echo ""
echo "Starting OpenWindows in 5 seconds (type Control-C to interrupt)"
sleep 5
echo ""
$OPENWINHOME/bin/openwin
clear # get rid of annoying cursor rectangle
exit # logout after leaving windows system
fi


0 Comments:
댓글 쓰기
<< Home