Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 1998 17:49:19 +0200
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        Charlie ROOT <root@dax.belen.k12.nm.us>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Expiration of Accounts and Passwords
Message-ID:  <19981120174919.D20475@ucb.crimea.ua>
In-Reply-To: <Pine.BSF.3.96.981120081236.22046A-100000@dax.belen.k12.nm.us>; from Charlie ROOT on Fri, Nov 20, 1998 at 08:18:09AM -0700
References:  <Pine.BSF.3.96.981120081236.22046A-100000@dax.belen.k12.nm.us>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 20, 1998 at 08:18:09AM -0700, Charlie ROOT wrote:
> 
> Hello I have three questions...
> 
> One...I would like to expire passwords on our freebsd boxes every 90
> days, is there a utility that will allow me to set everyones passwords to
> expired without haveing to chpass every account on my system?
> 
> Two...Same question as above except I would like to expire accounts that
> have been inactive for more then 90-180 days.  Is there a way to append
> the field in passwd without haveing to chpass every account?

Copy /etc/master.passwd to a safe location, edit it as you need,
then read the manpage for pwd_mkdb(8).

> Three...how do I resubscribe/subscribe to the freebsd-questions list
> again.

Send message to <majordomo@freebsd.org> with the word "help" in the body.
Instructions will be sent to you.

Or just cut, paste and execute the following:

echo "subscribe freebsd-questions" | mail majordomo@freebsd.org

Best regards,
-- 
Ruslan Ermilov		Sysadmin and DBA of the
ru@ucb.crimea.ua	United Commercial Bank
+380.652.247.647	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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