$ factor 2345678992
2345678992: 2 2 2 2 6581 22277
It’s a quick way to find out if a number is prime
$ factor 7867
7867: 7867
$ factor 2345678992
2345678992: 2 2 2 2 6581 22277
It’s a quick way to find out if a number is prime
$ factor 7867
7867: 7867
$ lynx
Or to read all these tips, with the latest updates
$ lynx
http://linux-poison.blogspot.com/
Or, better yet elinks.
$ elinks
http://linux-poison.blogspot.com/
You can get elinks at the following site:
Note this works on (ext2/ext3) filesystems.
As root:
# chattr +i filename
And to change it back:
# chattr -i filename
List attributes
# lsattr filename
At Ok, prompt type:
boot –s : To boot system into single mode
boot –a : To boot system step-by-step i.e. interactively
Insert the USB key in one of the USB slots.
mkdir /rmdisk
/etc/init.d/volmgt stop
/etc/init.d/volmgt start
mount grep rmdisk
It should be there.
If the above doesn’t work please try
/etc/init.d/volmgt stop
iostat -En
Look for your USB device.
mount -F pcfs /dev/dsk/c2t0d0p0:c /mnt
mount -F pcfs /dev/dsk/c1t0d0p0:c /mnt
you are done
Go to the OK Prompt – by pressing Stop +A . Put the 1st Cd for soalris in the cdrom · At OK prompt give the command
# boot cdrom -s
Now mount the boot device onto /a ( To check boot device you can use df command)
#mount /dev/dsk/c0t0d0s0 /a
Now open the password file and remove the password entry i.e. the second field
root:$1$NYDu1c8p$Mdm2n6IPb9k14pP2s2FXZ.:13063:0:99999:7:::
Now unmount the /a mount point #umount /a
Reboot the server in single mode #ok boot -s
Give a new password for root: #passwd
New Password:
Verify Password:
This will reset the password for root and you will be able to login to the box using this password.