diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-01-24 02:05:51 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-01-24 02:05:51 +0000 |
commit | 691e8219e30648cf1f71b6eb21306951fa192156 (patch) | |
tree | e80d22b8985f2c50723da65ba04cba614697ba3e /usr.sbin/adduser/adduser.sh | |
parent | 1474e21b9c643b93cdb57c5f0df0d184cf64be57 (diff) | |
download | FreeBSD-src-691e8219e30648cf1f71b6eb21306951fa192156.zip FreeBSD-src-691e8219e30648cf1f71b6eb21306951fa192156.tar.gz |
back out logging to /var/log/adduser
(/usr/sbin/pw already logs to /var/log/userlog)
Diffstat (limited to 'usr.sbin/adduser/adduser.sh')
-rw-r--r-- | usr.sbin/adduser/adduser.sh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/usr.sbin/adduser/adduser.sh b/usr.sbin/adduser/adduser.sh index 9db60e8..96049bd 100644 --- a/usr.sbin/adduser/adduser.sh +++ b/usr.sbin/adduser/adduser.sh @@ -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= |