home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!ux1.cso.uiuc.edu!usenet.ucs.indiana.edu!bronze!indyvax.iupui.edu!harvey
- From: harvey@indyvax.iupui.edu
- Subject: Re: How do you set pre-expired passwords with $SETUAI
- Message-ID: <1992Jul22.132151.1@indyvax.iupui.edu>
- Lines: 42
- Sender: news@bronze.ucs.indiana.edu (USENET News System)
- Nntp-Posting-Host: indyvax.iupui.edu
- Organization: Indiana University
- References: <9207221305.AA01218@ucbvax.Berkeley.EDU>
- Date: 22 Jul 92 13:21:51 -0500
-
- In article <9207221305.AA01218@ucbvax.Berkeley.EDU>, CSDRFLOOD@VAX.LIVERPOOL-POLY.AC.UK writes:
- >
- > In article <1992Jul21.182543.28188@nntpd.lkg.dec.com>, Coar@Nephi.Enet.DEC.Com
- > (various unidentifiable cute names) writes:
- >
- >>In article <110510@muvms3.bitnet>, boag@muvms3.bitnet (Bob Boag) writes...
- >>
- >>>It could be that I just missed it somewhere in the manuals, but I can't seem
- >>> to
- >>>find any way to mark a password as pre-expired when using the $SETUAI system
- >>>service.
- >>>
- >>>Does anyone know how to do this with VMS V5.4?
- >>
- >> Simply put, a pre-expired password is one whose binary representation has
- >> all bits set. So you can do this by giving UAI$_PWD a quadword with both
- >> longwords containing -1.
- >
- > Far be it from me to correct a DEC person, but NO NO NO!!
- >
- > Setting UAI$_PWD to -1 will render the account unusable interactively, (at a
- > guess - I haven't tried it). Pre-expired passwords are marked by having the
- > quadword UAI$_PWD_DATE set to both longwords = -1. From the description of
- > SYS$SETUAI, it appears that this is not an input parameter, although SYS$GETUAI
- > will return it. (Might be worth trying $SETUAI with UAI$_PWD_DATE and seeing
- > if it accepts it).
- >
- > I suggest trying $GETUAI for UAI$_FLAGS, setting the UAI$M_PWD_EXPIRED bit, and
- > $SETUAI the flags again, and see how that goes. This flag is used, I believe,
- > when LOGINOUT notices that the password lifeime has been exceeded.
-
- This isn't the same thing as pre-expired. A user cannot login to the account
- if UAI$M_PWD_EXPIRED is set. The point is that there are still things that
- $SETUAI can't do, which is a real P.I.T.A.
-
- > Regards,
- > Ronan Flood, Systems Manager (pro tem), CSDRFLOOD@VAX.LIVPOL.AC.UK
- > Liverpool Polytechnic Computer Services.
- >
- --
- James Harvey IUPUI OIT Technical Support/Networks
- harvey@iupui.edu uucp: iugate!harvey bitnet: harvey@indyvax
-