Recover Root Password from ZFS File System

ok>boot cdrom -s
#zpool import

# zpool import rpool

#zfs list

# zfs get mounted rpool/ROOT/s10s_u10_08a

# zfs set mountpoint=/mnt rpool/ROOT/s10s_u10_08a

# zfs mount rpool/ROOT/s10s_u8wos_08a

#zfs list

Now you can change the password from /mnt/etc/shadow file by either using vi editor or

# cd /

# zfs umount rpool/ROOT/s10s_u10_08a

# zfs set mountpoint=/ rpool/ROOT/s10s_u10_08a
#init 6

more clink here

Author: rajukv

Hadoop(BigData) Architect and Hadoop Security Architect can design and build hadoop system to meet various data science projects.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.