Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2006 22:20:56 +0100
From:      Erik Norgaard <norgaard@locolomo.org>
To:        Erik Norgaard <norgaard@locolomo.org>,  freebsd-questions@freebsd.org
Subject:   Re: periodic passwd change?
Message-ID:  <457F1D38.60202@locolomo.org>
In-Reply-To: <20061212121526.GA40735@mech-aslap33.men.bris.ac.uk>
References:  <20061207142439.GA20896@mech-aslap33.men.bris.ac.uk> <4579D1B2.1060202@locolomo.org> <20061212121526.GA40735@mech-aslap33.men.bris.ac.uk>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Anton Shterenlikht wrote:
> On Fri, Dec 08, 2006 at 09:57:22PM +0100, Erik Norgaard wrote:
>> Anton Shterenlikht wrote:
>>> 	I can't see how to prescribe periodic passwd change,
>>> only how to set expiry time. At the moment I put the following
>>> line in the root's crontab:
>>>
>>> 2 2 2 * * pw usermod shterenl -p "`date '+\%d-\%m-\%Y'`"
>>>
>>> This makes a user's passwd expire once a month.
>>>
>>> Is there a better way to force users change their passwds periodically?
>> You can set it in login.conf, when the password is updated the next 
>> expire is automatically set.
> 
> I checked login.conf. It seems that passwordtime option has no effect.
> I did a brief search and found many postings describing the same problem:
> many options from login.conf have no effect. Perhaps these are the
> "RESERVED CAPABILITIES' as they are called in the man page. Some people
> list a patch that supposedly fixes the problem, but I'm not sure if it
> applies to 6.2-prerelease thatI'm running.
> 
> thanks
> anton
did you remember to cap_mkdb after? from the man page:

"Whenever changes to this, or the user's ~/.login_conf, file are made, 
the modifications will not be picked up until cap_mkdb(1) is used to 
compile the file into a database."

Cheers, Erik

-- 
Ph: +34.666334818                      web: http://www.locolomo.org

[-- Attachment #2 --]
0	*H
010	+0	*H

0p0XET+0
	*H
0110	UDK10
U
TDC10UTDC OCES CA0
061115083154Z
081115090154Z0u10	UDK1)0'U
 Ingen organisatorisk tilknytning1;0U
Erik Nrgaard0#UPID:9802-2002-2-54436976931500
	*H
0WR&5ʄ8#S^fOパBrIsPBc! >r&8hl3?\.UGB\E3Q!1MrwP*02\|\&s{b'`1&100U0+U$0"20061115083154Z20081115090154Z07U .0*0&
*P)00/+#http://www.certifikat.dk/repository0+00
TDC0For anvendelse af certifikatet glder OCES vilkr, CPS og OCES CP, der kan hentes fra www.certifikat.dk/repository. Bemrk, at TDC efter vilkrene har et begrnset ansvar ift. professionelle parter.0A+50301+0%http://ocsp.certifikat.dk/ocsp/status0 U0norgaard@locolomo.org0U}0{0KIGE0C10	UDK10
U
TDC10UTDC OCES CA10UCRL15570,*(&http://crl.oces.certifikat.dk/oces.crl0U#0`Vd~'gPKs;0U~kG'f+Q{m&0	U00	*H}A0
V7.10
	*H
OJ'|)%Ҋi`1
^nE
jJwKӼB65VSǶw`y$L=YXʷ/\E~,PW$AB\汎͙
7%$	N-ށ"/Ww#ғkMA6S0dD~\w*zPq`#	69;pS6 	뛨3:9s_.'³Q$S0yAƶlqfLi0p0XET+0
	*H
0110	UDK10
U
TDC10UTDC OCES CA0
061115083154Z
081115090154Z0u10	UDK1)0'U
 Ingen organisatorisk tilknytning1;0U
Erik Nrgaard0#UPID:9802-2002-2-54436976931500
	*H
0WR&5ʄ8#S^fOパBrIsPBc! >r&8hl3?\.UGB\E3Q!1MrwP*02\|\&s{b'`1&100U0+U$0"20061115083154Z20081115090154Z07U .0*0&
*P)00/+#http://www.certifikat.dk/repository0+00
TDC0For anvendelse af certifikatet glder OCES vilkr, CPS og OCES CP, der kan hentes fra www.certifikat.dk/repository. Bemrk, at TDC efter vilkrene har et begrnset ansvar ift. professionelle parter.0A+50301+0%http://ocsp.certifikat.dk/ocsp/status0 U0norgaard@locolomo.org0U}0{0KIGE0C10	UDK10
U
TDC10UTDC OCES CA10UCRL15570,*(&http://crl.oces.certifikat.dk/oces.crl0U#0`Vd~'gPKs;0U~kG'f+Q{m&0	U00	*H}A0
V7.10
	*H
OJ'|)%Ҋi`1
^nE
jJwKӼB65VSǶw`y$L=YXʷ/\E~,PW$AB\汎͙
7%$	N-ށ"/Ww#ғkMA6S0dD~\w*zPq`#	69;pS6 	뛨3:9s_.'³Q$S0yAƶlqfLi1*0&090110	UDK10
U
TDC10UTDC OCES CAET+0	+G0	*H
	1	*H
0	*H
	1
061212212056Z0#	*H
	1soթ9Qqp%".0H	+71;090110	UDK10
U
TDC10UTDC OCES CAET+0J*H
	1;90110	UDK10
U
TDC10UTDC OCES CAET+0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0
	*H
WݘpS.oAVKG/9N^o^B;|#΋w2dԴMxb;-1F";OeލbDݨ}\vK"lS^J!~DJtCP^yY\4
home | help

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