본문 바로가기

Work/Solaris

Solaris10 root password recovery in SVM Configuration

ok> boot -F failsafe


# mount /dev/dsk/c1t1d0s0 /a


# cp /a/kernel/drv/md.conf /kernel/drv


# umount -a


# update_drv -f md


# metadb

# metastat


# mount /dev/md/dsk/d10 /a


# vi /a/etc/shadow


# umount /a

# init 6




or


# mount  -o ro /dev/dsk/c1t1d0s0 /a

# cp /a/kernel/drv/md.conf /kernel/drv/md.conf

# umount /a

# update_drv -f md

# metainit -r

# metasync d10

# mount /dev/md/dsk/d10 /a


'Work > Solaris' 카테고리의 다른 글

Solaris ldom 남은 자원 확인  (0) 2014.08.28
ntp 확인  (0) 2014.08.13
Hostname 변경하기  (0) 2014.07.06
SUNWexplo 사용하기  (0) 2014.06.24
Ldom 구동상태에서 Primary 재부팅시  (0) 2014.05.29