back out logging to /var/log/adduser

(/usr/sbin/pw already logs to /var/log/userlog)
This commit is contained in:
Max Khon 2003-01-24 02:05:51 +00:00
parent 3fe5b5db73
commit cf8a185d8d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109775

View File

@ -155,7 +155,6 @@ save_config() {
echo "udotdir=$udotdir" >> ${ADDUSERCONF}
echo "msgfile=$msgfile" >> ${ADDUSERCONF}
echo "disableflag=$disableflag" >> ${ADDUSERCONF}
echo "adduserlog=$adduserlog" >> ${ADDUSERCONF}
}
# add_user
@ -239,9 +238,6 @@ add_user() {
fi
fi
_log=${adduserlog:-no}
[ x"$_log" = x"no" ] || (echo "$(${DATECMD} +'%Y/%m/%d %T') $(${PWCMD} 2>/dev/null usershow -n $username)" >> $_log)
_line=
_owner=
_perms=
@ -715,7 +711,6 @@ input_interactive() {
THISCMD=`/usr/bin/basename $0`
DEFAULTSHELL=/bin/sh
ADDUSERCONF="${ADDUSERCONF:-/etc/adduser.conf}"
ADDUSERLOG="${ADDUSERLOG:-/var/log/adduser}"
PWCMD="${PWCMD:-/usr/sbin/pw}"
MAILCMD="${MAILCMD:-mail}"
ETCSHELLS="${ETCSHELLS:-/etc/shells}"
@ -746,7 +741,6 @@ configflag=
fflag=
infile=
disableflag=
adduserlog="${ADDUSERLOG}"
readconfig="yes"
homeprefix="/home"
randompass=