Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 1997 08:40:27 -0400 (EDT)
From:      Keith Mitchell <kmitch@weenix.guru.org>
To:        hackers@freebsd.org
Subject:   Bug in pw? (account/pasword exp dates)
Message-ID:  <199707251240.IAA08578@weenix.guru.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707251240.IAA08578>