* SUMMARY: Change to passwd
@ 1996-03-08 17:03 Antonia Gomez
0 siblings, 0 replies; only message in thread
From: Antonia Gomez @ 1996-03-08 17:03 UTC (permalink / raw)
To: tru64-unix-managers
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
______________________________________________________________________-
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-03-08 17:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-08 17:03 SUMMARY: Change to passwd Antonia Gomez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox