On Mon, 28 Jul 2003 19:45:00 +1000, Phillipus Gunawan wrote:

> G'day,
> 
> Just a few days ago, I was try to experiment with Samba+LDAP to store
> users and groups. As a start, I found out that webmin has a module that
> can auto-generate all the necessary things to set up LDAP as well as the
> SAMBA.
> 
> So, I give it a try. The result? I've lost my ability to log in to my
> box and it seems all password and users name has been deleted/changed.
> 
> Luckly, at that time I still had 1 comp connected to box via webmin.
> I've tried to change nsswitch.conf to read:
> 
> passwd:     files nis
> shadow:     files nis
> group:      files nis
> 
> But it seems nothing... Does anybody have any recommendation what should
> I do put (at least) root password to the box so I can log in again?

See if you can find yourself a recovery disk; Tom's root/boot disk and/or
the Linux Bootable Business card are fairly good.

Boot off the recovery media, mount the affected partition (read/write),
edit /etc/shadow and delete the root password. Reboot and begin
recoverying.

Or restore from backups.

Regards,
Anand

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to