From: bjorn@Zeke.Update.UU.SE (Bjorn Knutsson)
Subject: Re: Possible FAQ on UPGRADE security
Date: 1996/06/13 [thread overview]
Message-ID: <w46wx1cyqid.fsf@Zeke.Update.UU.SE> (raw)
In-Reply-To: 4p7fe2$eo7@agate.berkeley.edu
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 <bjorn@docs.uu.se>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Freedom is just a hallucination created by a pathological lack of paranoia.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
prev parent reply other threads:[~1996-06-13 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-06 4:00 Possible FAQ on UPGRADE security Marco E. Nicosia
1996-06-13 4:00 ` Bjorn Knutsson [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox