SUMMARY:changing password only.

Date: Fri Nov 15 1996 - 04:45:35 CST

My original question:

How can I allow someone just to change their password when logging
into the system?

Summarised answers:

1. Change the login shell to:

        miked:x:1001:1000:POP user:/tmp:/usr/bin/passwd

2. Leave the shell as normal to /bin/ksh and change the .profile to:

        trap 'echo "!! You are not allowed to do that !!"' 2 3

3. Write you own c program with the flow of:


and change the login shell to the c program like /usr/bin/cpasswd

Thanks for the myriad of answers I recieved.


This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:15 CDT