From owner-freebsd-hackers Fri Jul 25 05:40:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA01048 for hackers-outgoing; Fri, 25 Jul 1997 05:40:32 -0700 (PDT) Received: from weenix.guru.org (weenix.guru.org [198.82.200.65]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA01042 for ; Fri, 25 Jul 1997 05:40:29 -0700 (PDT) Received: (from kmitch@localhost) by weenix.guru.org (8.8.6/8.8.5) id IAA08578 for hackers@freebsd.org; Fri, 25 Jul 1997 08:40:28 -0400 (EDT) From: Keith Mitchell Message-Id: <199707251240.IAA08578@weenix.guru.org> Subject: Bug in pw? (account/pasword exp dates) To: hackers@freebsd.org Date: Fri, 25 Jul 1997 08:40:27 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk If I give pw the following command: pw useradd tuser -P -c "Test User" -e 901944000 -p 869834290 -m -h 0 everything seems to work except that the account expiration date and the password expiration date are set to the same thing (to the -e param). the results from pw usershow are: Login Name: tuser #1006 Group: users #200 Full Name: Test User Home: /home/tuser Class: Shell: /usr/local/bin/tcsh Office: [None] Work Phone: [None] Home Phone: [None] Acc Expire: Sat Aug 1 00:00:00 1998 Pwd Expire: Sat Aug 1 00:00:00 1998 This happens under 2.2.2 and -current. Am I doing something wrong?? Thanks. -- Keith Mitchell Head Administrator: acm.vt.edu Email: kmitch@weenix.guru.org PGP key available upon request http://weenix.guru.org/~kmitch Address and URL (c) 1997 Keith Mitchell - All Rights Reserved Unauthorized use or duplication prohibited