|
** root ¾ÏÈ£°ü·Ã **
root ¾ÏÈ£°¡ »ý°¢³ªÁö ¾ÊÀ»¶§´Â..
¾¾µð¸¦ ³Ö°í ¾¾µð·Î ºÎÆÃÇÔ´Ù. (½ÃÀ۽ÿ¡ stop a-> boot cdrom)
±×·± ÈÄ, ºÎÆÃÀÌ µÇ¸é ±âÁ¸½Ã½ºÅÛÀ» ¸¶¿îÆ® ½ÃÅ´´Ù.
±×·±´ÙÀ½ ¸¶¿îÆ®µÈµ¥·ç µé¾î°¡¼, /etc/passwd ÆÄÀÏÀÇ rootÀÇ
Æнº¿öµå ºÎºÐÀ» Áö¿öÁÜ´Ù. ±×·±ÈÄ ¸®º×½ÃÅ°°í, root·Î ·Î±äÇϸé
¾ÏÈ£¸¦ Àç¼³Á¤ÇÏ°Ô ÇØÁÜ´Ù..
1) stop a ->
ok boot cdrom -s
# mount /dev/dsk/c0t0d0s0 /mnt
# TERM=sun;export TERM
# vi /mnt/etc/shadow
# sync;reboot
À̶§ shadow ÆÄÀÏ 2¹ø°¿¡ ¿À´Â°÷¿¡ ::ÀÌ·¸°Ô ÇØÁֽðí ÀúÀåÇϼ¼¿ä
°£È¤ ¸¶¿îÆ®½Ãų¶§ Àß ¾ÊµÉ¶§°¡ Àִµ¥.. ¿¡·¯¸Þ½ÃÁö º¸¸é¼
ÇÏ¸é µË´Ï´Ù. ;;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Á¦°ø : howtosolaris.com
1. X86 CDROM ( install CD ) ¸¦ ³ÖÀ¸½ÃÁö¿ä.
CDROMÀ¸·Î ºÎÆÃÀ» ÇϽʽÿä.
2. [ ] Disk: Target 0
[X] CD : Target 0
CD¸¦ ¼±ÅÃÇϽñ¸ F2 ´©¸£¼¼¿ä.....
3. Jumpstart installation typeÀ» ¹¯´Â ¸»ÀÌ ³ª¿À¸é ´ÙÀ½°ú °°ÀÌ Çϼ¼¿ä.
Select type of installation : boot -s
±Û±¸ ¿£ÅÍ ....
´ÙÀ½Àº IDE µð½ºÅ©ÀÏ °æ¿ì ÀÔ´Ï´Ù.
4. # mount /dev/dsk/c?d?s? /a ----> ¿©±×¼ ?´Â ´ç½ÅÀÌ Àß ¾Æ½Ã°ÚÁÒ.. (c1t6d0s0)
5. fsck¸¦ Çغ¸¶ó´Â ¸Þ¼¼Áö°¡ ³ª¿À¸é Çϼ¼¿ä. (ex) # fsck /dev/dsk/c?d?s?
6. # TERM=at386;export TERM
7. # vi /a/etc/shadow
root:NP:6445::::::: -----> ÀÌ·¸°Ô ¼öÁ¤ ÇϽôøÁö
root::6445:::::: -----> ÀÌ·¸°Ô ÇϽôøÁö.
# cd /
# umount /a
# init 6
|