there is some time, admin might be forget the password for the old machine that never used for long time. other than reformat everything, we can reset the root password. below is the step for resetting root password.
Tools needed
- workable cdrom or dvdrom
- boot-able sun solaris installation disk
- this manual
after ready all the tools needed, follow the step as below.
*go to ok prompt before boot into system
press stop+a
*then check the cd rom
ok probe-ide
*boot from cd with single user mode
ok boot cdrom -s
after bootup
*check the disk label
# format
then check what is the dev number, normally is c0t0d0s0
*mount the disk accordingly
# mount /dev/dsk/c0t0d0s0 /a
*set envoriment so that vi can work properly
# TERM=vt100
# export TERM
# EDITOR=vi
# export EDITOR
*edit the passwd file
# vi /a/etc/shadow
*remove the root password
root:remove everything on this session:0:0:Admin:/:/bin/csh
become
root::0:0:Admin:/:/bin/csh
then save it
*umount the drive
# umount /a
*reboot into system
# boot disk
after this step, your system can login by root without password, then change the password with
# passwd root
root password is now reset and usable.
Friday, October 05, 2012
Reset sun solaris root password
Labels:
IT
Monday, October 01, 2012
Tears of Steel
想要制作3D电影的人现在有福了。前几天blender.org放出了一个12分钟多的小影片,整个影片的3D效果很震撼,完全就是一个大制作;更惊喜的是,任何人都可以购买他的源文件还有代码,自己可以研究整个制作过程。当然,源文件都公开了,肯定有人会拿他来改,这使到那些学3D的帮助很大。
来看看影片吧。
Subscribe to:
Posts (Atom)