desktop user authorisation to change password on 1st login

Asked by Henry

Hi all,

I have just installed ubuntu 7.04 and have given my family members logins as "desktop users" with a randomly generated password. What I would like to be able to do is give these ordinary "desktop users" permission to change there random password to one of their own choosing on their first login. If anyone could point me in the right direction to a HowTo or better yet give direct information, it would be very much appreciated. I'm still coming to terms with Linux after jumping the MS ship. :)

Thanks in advance

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#1

Please open a Terminal from the menu Applications->Accessories->Terminal and type:

man passwd

you can see that you can force expiration of password for a user, the next login the user must change it then you must type:

sudo passwd -e nameofuser

give your user password when requested, you don't see nothing when you type it, then press enter.

Hope This Help

Revision history for this message
Henry (hbarton) said :
#2

Thanks marcobra, that solved my question.