Serious password problems...

Christopher Murtagh yellowdog-general@lists.terrasoftsolutions.com
Sun Jun 30 22:53:00 2002


On Mon, 1 Jul 2002, Chris Ruprecht wrote:
>Indeed, what you describe is a problem. to begin with, even when you go
>to the site, how do you log in without the passwords,

 Hard reboot (ie pull the plug), then boot into single user mode. This
isn't pretty, but it works. Then reset the root password, and reboot.

On Sunday 30 June 2002 09:22, Mark Jaffe wrote:
> I will have to go there tomorrow, and move the shadow file back. But
>the big question I have is how to move all my users into the shadow
>file.

 What I would do is save the passwd file as something else (like
passwd.foo) so that you can keep your users' names and UIDs if you need
to. Then remove all entries from /etc/shadow and /etc/passwd and recreate
their accounts.  After that you can either chown their directores or
change the UIDs to match what they used to be. If you didn't do anything
fancy with groups/etc then you should be ok, but time consuming depending
on the number of clients you have. You'll have to tell your users that
you've reset their passwords and that they should contact you.

Good luck!

Cheers,

Chris

-- 

Christopher Murtagh
Webmaster / Sysadmin
Web Communications Group
McGill University
Montreal, Quebec
Canada

Tel.: (514) 398-3122
Fax:  (514) 398-2017