tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Antonia Gomez <antonia () fib ! upc ! es>
To: tru64-unix-managers
Subject: SUMMARY: Change to passwd
Date: Fri, 08 Mar 1996 17:03:48 +0000	[thread overview]
Message-ID: <96076330121233.tru64-unix-managers.marc@archive.invalid> (raw)

Hello!

Thanks at:

Jon Buchanan, RUBEN OCONNER, Rafael Hernandez Rios, Herve DEMARTHE and
Spider Boardman

The best solution for my problem is of Jon Buchanan:

>One way to force new users to change their password is to give them a
>first-time login script which overwrites itself.  Eg, .profile for sh or
>ksh users:

># First-time login script for new users to force password change
># Logout if interrupted
>trap exit 2 3
># Change password - logout if unsuccessful
># NB: replace passwd with yppasswd if NIS is in use
>passwd || exit
># Copy new .profile into place
>cp -p /usr/templates/.profile .
># Run new profile
>. .profile
>trap 2 3
> 

Is the best when you haven't C2 level.

Thanks at all.
______________________________________________________________________-  
Antonia Gomez Gonzalez                                               
LCFIB - UPC                                                        
                                                                    
E-mail: antonia@fib.upc.es                                           
______________________________________________________________________-

                 reply	other threads:[~1996-03-08 17:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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