![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I would like to have the user change their passwords every 90 days. Is there a program within D3 that would look after this? |
|
Would it be easier to add a new dictionary item within the users and do a date comparison and have them change the password if greater than 90 days. Then the new date would have to be written out also. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
We are using Redhat Linux ws3, we do not use linux users, they are locked down to a specific port within D3. |
|
* logon process to maintain user passwords * 04-19-94 asb * break off prompt "" * $include es whos.fmcs * pmax = 60 ;* require new password every 60 days tries = 0 ;* password attempts counter tries.max = 3 ;* max attempts allowed * open "users" to users else stop 201,"users" open "whos" to whos else stop 201,"WHOS" * call get.user.srt(user) ;* return user id e.g. oconv("u","u50bb") * 12-08-03 asb: these are automatic processes... ok = 1 begin case case user eq "cpi" case user eq "smdr" case 1 ; ok = 0 end case if ok then stop read wrec from whos,user then if wrec<whos.term.date.fmc> ne "" then print " Sorry, ":user:" is not a valid employee??" go 1000 end end else print " Sorry, ":user:" is not a valid employee??" go 1000 end * read urec from users,user else print " error! no USER record for ":user go 1000 end * if urec<7> eq "" then pdays = 0 ; go 30 ;* require new password pdate = wrec<whos.pdate.fmc pdays = pmax - (date() - pdate) ;* days remaining for passwor if pdays lt 0 then go 1000 ;* too late if pdays gt 10 then go 999 ;* ok * xdate = oconv(pdays + date(),"D2-") tries = 0 * print char(7) print " Your password will EXPIRE in " days:" days (on ":xdate:")."print " You must create a new password before then or you will not be able * 30 * * tries = tries + 1 if tries gt tries.max then print " ":tries.max:" tries are all you get." go 1000 end * print " Enter NEW password: ": echo off input password echo on x = password call pc.input.test(x) if x eq "QUIT" then go 999 if x eq "" then if pdays gt 0 then go 999 end else print " You must enter a NEW password now." go 30 end end **if len(password) gt 8 then ** print " Sorry, but the maximum length of a password is 8 characters." ** go 30 **end if len(password) lt "5" then print "Password must be at least 5 characters." go 30 end ok = 0 if not(x matches "0n") then if not(x matches "0a") then ok = 1 end end if ok else print "Password must include both letters and numbers." go 30 end if oconv(password,"U3060") eq urec<7> then print " You must enter a NEW password." go 30 end * print " Re-enter password to confirm: ": echo off input confirm echo on x = confirm call pc.input.test(x) if x eq "QUIT" or x eq "" then go 30 * if confirm ne password then print "Sorry, incorrect password entered??" go 30 end else call pc.readu(x,users,user,0,err,0) call pass.test.sub(user,password) writev oconv(password,'U3060') on users,user,7 call pc.readu(x,whos,user,0,err,0) writev date() on whos,user,whos.pdate.fmc print " Password updated." end * * 999 * normal exit * break on stop * 1000 * error exit * chain "OFF" |
#5
| |||
| |||
|
|
We are using Redhat Linux ws3, we do not use linux users, they are locked down to a specific port within D3. |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Why would RD not do something to this effect? |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
I've long had the gut feeling that requiring frequent (*) password changes of users was actually counter-productive to security. Those who feel strongly about this (agreeing or disagreeing) might find Gene Spafford's recent and much-discussed blog posting of interest: Security Myths and Passwords http://www.cerias.purdue.edu/weblogs...neral/post-30/ /jdr/ (*) I'm not saying forced changes every 90 days are necessarily "frequent" - some places I've been are far, far more Draconian in their policies than that. |
#10
| |||
| |||
|
|
I think the primary reasoning behind the requirement that passwords be changed every NN days is concern that if a password is compromised, the exposure is limited to NN days. This is probably based on the presumption that a compromised password was accidently "exposed" rather than "disclosed" (to use Spafford's terminology). But overall, I think you are right: requiring frequent password changes likely increases the probability that users will write them down somewhere (if they didn't choose a new *easy to remember* password), and thus more easily found or discovered. /Scott Ballinger Pareto Corporation Edmonds WA USA 206 713 6006 David Ruggiero wrote: I've long had the gut feeling that requiring frequent (*) password changes of users was actually counter-productive to security. Those who feel strongly about this (agreeing or disagreeing) might find Gene Spafford's recent and much-discussed blog posting of interest: Security Myths and Passwords http://www.cerias.purdue.edu/weblogs...neral/post-30/ /jdr/ (*) I'm not saying forced changes every 90 days are necessarily "frequent" - some places I've been are far, far more Draconian in their policies than that. |
![]() |
| Thread Tools | |
| Display Modes | |
| |