Kamis, 13 Januari 2011

Reset root password pada FreeBSD

Reset root password!!

1. Boot in single user mode
2. Just wait a minute
3. Enter full pathname of shell or RETURN for /bin/sh: [press ENTER]
4. Mount the file system
    #mount -t ufs -a
5. Change the root password
    
passwd
    New password:_
    Retype new password:_
    passwd: updating the database...
    passwd: done

    exit
6. Back to multiuser mode

It's DONE!!