반응형
/etc/skel 디렉토리에 복사하고 싶은 파일들을 만들어 두고(local.profile, local.cshrc, local.login)
useradd나 admintool로 계정을 만들면 됩니다.
/etc/skel/local.cshrc 파일의 예
----------------------------------------------------------------------------
# @(#)cshrc 1.11 89/11/29 SMI
umask 022
set path=(/usr/sbin /usr/bin /usr/local/bin /bin /usr/openwin/bin /usr/ccs/bin /
usr/ucb/bin /opt/Acrobat4/bin /opt/netscape)
if ( $?prompt ) then
set history=32
setenv OPENWINHOME /usr/openwin
setenv PATH $OPENWINHOME/bin:$OPENWINHOME/bin/xview:$PATH
setenv LD_LIBRARY_PATH $OPENWINHOME/lib:/usr/lib:
setenv MOZILLA_HOME /opt/netscape
setenv MANPATH /usr/local/kde/man:/usr/dt/share/man:/usr/openwin/share/man:/usr/
local/man:$MANPATH
setenv MANPATH /usr/local/man:/usr/dt/share/man:/usr/openwin/man:/usr/man:/opt/s
amba/man:$MANPATH
#-------------------------------------------------------------
# OPENH323
setenv PWLIBDIR /opt/openH323/pwlib
setenv OPENH323DIR /opt/openH323/openh323
#-------------------------------------------------------------
#-------------------------------------------------------------
# QT Setup
setenv QTDIR /usr/local/qt
setenv PATH $QTDIR/bin:$PATH
setenv MANPATH $QTDIR/doc/man:$MANPATH
setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH
#-------------------------------------------------------------
#-------------------------------------------------------------
# KDE Setup
setenv KDEDIR /usr/local/kde
setenv MANPATH /usr/local/kde/man:$MANPATH
setenv PATH $KDEDIR/bin:$PATH
setenv LD_LIBRARY_PATH=/usr/local/kde/lib:$LD_LIBRARY_PATH
#-------------------------------------------------------------
endif
set filec
alias a 'alias'
a setprompt 'set prompt="[`hostname`:$cwd]# "'
a cd 'cd !*; setprompt'
a dir '/bin/ls -als | more'
a h 'history !* | more'
setprompt
----------------------------------------------------------------------------
useradd나 admintool로 계정을 만들면 됩니다.
/etc/skel/local.cshrc 파일의 예
----------------------------------------------------------------------------
# @(#)cshrc 1.11 89/11/29 SMI
umask 022
set path=(/usr/sbin /usr/bin /usr/local/bin /bin /usr/openwin/bin /usr/ccs/bin /
usr/ucb/bin /opt/Acrobat4/bin /opt/netscape)
if ( $?prompt ) then
set history=32
setenv OPENWINHOME /usr/openwin
setenv PATH $OPENWINHOME/bin:$OPENWINHOME/bin/xview:$PATH
setenv LD_LIBRARY_PATH $OPENWINHOME/lib:/usr/lib:
setenv MOZILLA_HOME /opt/netscape
setenv MANPATH /usr/local/kde/man:/usr/dt/share/man:/usr/openwin/share/man:/usr/
local/man:$MANPATH
setenv MANPATH /usr/local/man:/usr/dt/share/man:/usr/openwin/man:/usr/man:/opt/s
amba/man:$MANPATH
#-------------------------------------------------------------
# OPENH323
setenv PWLIBDIR /opt/openH323/pwlib
setenv OPENH323DIR /opt/openH323/openh323
#-------------------------------------------------------------
#-------------------------------------------------------------
# QT Setup
setenv QTDIR /usr/local/qt
setenv PATH $QTDIR/bin:$PATH
setenv MANPATH $QTDIR/doc/man:$MANPATH
setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH
#-------------------------------------------------------------
#-------------------------------------------------------------
# KDE Setup
setenv KDEDIR /usr/local/kde
setenv MANPATH /usr/local/kde/man:$MANPATH
setenv PATH $KDEDIR/bin:$PATH
setenv LD_LIBRARY_PATH=/usr/local/kde/lib:$LD_LIBRARY_PATH
#-------------------------------------------------------------
endif
set filec
alias a 'alias'
a setprompt 'set prompt="[`hostname`:$cwd]# "'
a cd 'cd !*; setprompt'
a dir '/bin/ls -als | more'
a h 'history !* | more'
setprompt
----------------------------------------------------------------------------
반응형
'Solaris' 카테고리의 다른 글
[UNIX] man(매뉴얼) 페이지를 깨끗하게 프린트하기 (1) | 2006.02.21 |
---|---|
[UNIX] 부팅할 때 마다 어떤 일을 수행하려면 (1) | 2006.02.21 |
유닉스사의 Snoop 명령어를 이용하여 TCP/UDP-IP 패킷을 (1) | 2006.02.21 |
[UNIX] Find 명령어의 자세한 사용법 (1) | 2006.02.21 |
Unix MAN 페이지를 직접 작성해보자 (1) | 2006.02.21 |