From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,7911be93c178de06 X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,7911be93c178de06 X-Google-Attributes: gid1164f8,public From: bjorn@Zeke.Update.UU.SE (Bjorn Knutsson) Subject: Re: Possible FAQ on UPGRADE security Date: 1996/06/13 Message-ID: #1/1 X-Deja-AN: 159955887 references: <4p7fe2$eo7@agate.berkeley.edu> content-type: text/plain; charset=US-ASCII organization: Update, Uppsala University, Sweden mime-version: 1.0 (generated by tm-edit 7.48) newsgroups: comp.sys.dec,comp.unix.ultrix In article <4p7fe2$eo7@agate.berkeley.edu> marco@server.berkeley.edu (Marco E. Nicosia) writes: > Hi there - I have a possible FAQ, but I don't have a solid pointer, so... > > I have a machine that's currently running in UPGRADE security level. > I'd *like* to be able to create a user with an initial password in > /etc/password (usually an encrypted somethingorother that I've grabbed > from another password file) and set their account to force them to > change their password as soon as they log in at first, so that their > password is shadowed out of /etc/passwd! > > I know that this can be done, because when I upgraded the machine, it > forced everyone to change their passwords in just such a manner. However, > I've fiddled with the authmasks as much as I can, even read the security > upgrade script, but I still have not discovered how to do this... > > Does anyone have any advice? This is beginning to take more time than > it's worth... Any good ideas will be much appreciated. Just pop in the copied entry in /etc/passwd, and then do the following: echo "${UID}:Nologin:1:${MINPASSLIFE}:${MAXPASSLIFE}:07:0:${UID}:00:00:00" | /usr/etc/sec/setauth (With the variables set to appropriate values.) Then you can edit the entry in the usual fashion. /Bjorn -- Bjorn Knutsson -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Freedom is just a hallucination created by a pathological lack of paranoia. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=