Re: Use of upwexpire to configure user password expiry policy

2017-06-13 Thread Darren Marshall
Hi Ted, Thanks for the info , Ok, at least I now know I was on the right lines. I just had a quick read through the adduser script and it seems to me that there are no routines in there to deal with upwexpire , for instance I guess it would need to take the input from adduser.conf (in my case "60

Re: Use of upwexpire to configure user password expiry policy

2017-06-13 Thread Darren Marshall
Edgar , Thanks for the advice , unfortunately , usermgmnt.conf doesn't allow you to set a password to expire in 60 days , you would have to work out (or write a script to update the file each day) , the date in 60 days time - *expire* Sets the default time at which the new accounts expir

Re: Use of upwexpire to configure user password expiry policy

2017-06-09 Thread Ted Unangst
Darren Marshall wrote: > Hi guys, > > I'm trying to create a policy whereby a user added to an OpenBSD 6.0 system > automatically gets their password expiry set to 60 days. > > I did think that this could be accomplished by adding upwexpire="60d" to > /etc/adduser.conf but subsequent adding of a

Re: Use of upwexpire to configure user password expiry policy

2017-06-09 Thread Edgar Pettijohn
I think you are looking for usermgmt.conf, or useradd -D -e `date` ⁣Sent from BlueMail ​ On Jun 9, 2017, 11:22 AM, at 11:22 AM, Darren Marshall wrote: >Hi guys, > >I'm trying to create a policy whereby a user added to an OpenBSD 6.0 >system >automatically gets their password expiry set to 60 da

Use of upwexpire to configure user password expiry policy

2017-06-09 Thread Darren Marshall
Hi guys, I'm trying to create a policy whereby a user added to an OpenBSD 6.0 system automatically gets their password expiry set to 60 days. I did think that this could be accomplished by adding upwexpire="60d" to /etc/adduser.conf but subsequent adding of a test user using adduser doesn't inher