Automatically adding enhanced security users

From: Mike Matthews <matthewm_at_sgate.com>
Date: Tue, 15 Aug 1995 10:30:15 -0400 (EDT)

OK, this is getting annoying.

I wrote a script that adds users to our system, setting all the appropriate
defaults <ha!> etc. etc. Well, when I turned on enhanced security, some
things stopped working for the new users.

Why oh Why does passwd say 'Password unchanged - ID mismatch'? When it does,
the u_uid field in the /tcb/files/auth/... file gets deleted. It was there
before. The template file created by my script has

$userid:u_name=$userid:u_uid#$uid:\
        u_pwd=$encr_passwd:u_succhg#0:u_oldcrypt#0:\
        u_lock_at_:chkent:

What else does it need?

Also, when I try to su to that userid, it says 'su: ID unknown'.

I know that my script did not set the file permissions and ownership
correctly for /tcb/files/auth/?/* before but I've since changed that. It
seems that something else needs to be reset, and, well, a reboot didn't do it.

helllllllp

------------------------------------------------------------------------------
Mike Matthews, Mike_Matthews_at_sgate.com (NeXTmail accepted)
Received on Tue Aug 15 1995 - 16:58:42 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT