Plaatsingsdatum: Oct 15, 2010 10:50:45 AM
useradd -c <Full Username> -m -d /home/<short username> -g <gid> -u <uid> -s /bin/ksh <short username>
passwd <short username>
passwd -n 7 -w 14 -x 91 <short username>
/home/<short username>/.profile
{{{
ENV=~/.kshrc
PATH=/usr/bin:/usr/ucb:/etc:/usr/sbin:/sbin:/opt/SUNWpnm/bin
PATH=$PATH:/usr/lib/osa/bin:/usr/opt/SUNWmd/sbin:/usr/platform/`uname -m`/sbin
PATH=$PATH:/usr/local/bin:/opt/SUNWexplo:/usr/openwin/bin:/opt/ssh/bin
PATH=$PATH:/opt/netscape:/home/apps/cryptoswift/Rainbow_Technologies/CryptoSwift_IK_3.2.0/netscape/bin
MANPATH=/usr/share/man:/usr/dt/share/man:/usr/dt/man:/opt/SUNWpnm/man
MANPATH=$MANPATH:/usr/openwin/man:/usr/openwin/share/man
MANPATH=$MANPATH:/opt/SUNWexplo/man:/usr/opt/SUNWmd/man
MANPATH=$MANPATH:/usr/bin/man:/usr/man:/opt/ssh/man
LD_LIBRARY_PATH=/home/apps/netegrity/siteminder/webagent/lib:/home/apps/iplanet/ws/bin/https/lib
EDITOR=vi
TERM=vt100
PS1="`uname -n`-`whoami`# "
WT_ROOT=/home/apps/cookieplugin
ulimit -n 1024
export PATH PS1 MANPATH EDITOR TERM LD_LIBRARY_PATH WT_ROOT
umask 027
mesg n
}}}
/home/<short username>/.kshrc
{{{
set -o vi
}}}
chmod 755 /home/<short username>
chown <short username>:users /home/<short username>
chmod 644 /home/<short username>/*
chown <short username>:users /home/<short username>/*
chmod 644 /home/<short username>/.kshrc /home/<short username>/.profile
chown root:sys /home/<short username>/.kshrc /home/<short username>/.profile