2 # sh/ksh initialization
4 if [[ -r ~/.ksh_logout ]]; then
5 trap '. ~/.ksh_logout' EXIT
9 eval `tset -s -Q linux`
11 export PS1="[\u@\h \w]\n$ "
12 export JAVA_HOME=/usr/local/jdk-1.5.0
14 PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:.
16 export AUTOCONF_VERSION=2.59
19 $ sudo vi /etc/mk.conf
21 ACCEPT_JRL_LICENSE=Yes
22 WRKOBJDIR=/usr/ports/obj
23 DISTDIR=/usr/ports/distfiles
24 PACKAGE_REPOSITORY=/usr/ports/packages
34 # NLSDIR=/usr/share/nls
35 # /usr/src/lib/libc/nls/zh.msg
39 0 * * * * /usr/sbin/rdate -ncv pool.ntp.org 2>&1 | logger -t NTP
42 $ sudo vi /etc/login.conf
45 :datasize-max=infinity:\
46 :datasize-cur=infinity:\
47 :maxproc-max=infinity:\
48 :maxproc-cur=infinity:\
49 :openfiles-cur=infinity:\
51 :localcipher=blowfish,8:
53 $ sudo cap_mkdb -v /etc/login.conf
54 cap_mkdb: 6 capability records
57 如何告诉OpenBSD,我的计算机时钟不是UTC,而是本地时间?
58 $ sudo /usr/sbin/config -f -e /bsd
59 OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
60 deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
61 Enter 'help' for information
63 timezone = 480, dst = 0
65 Saving modified kernel.