How to brk the root pwd?
Answers were Sorted based on User's Feedback
Answer / jk biswal
its not in /etc/passwd file its in /etc/shodow file
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / chowdary
boot the server into single user mode inserting cdrom.
ok>boot cdrom -s
#pwd
/tmp/root
now mount the root filesystem temporarily
#mkdir abc
#mount /dev/dsk/c1t0d0s0 /tmp/root/abc
#cd abc
#pwd
/tmp/root/abc
#cd etc
#vi shadow
delete the encrypted password of root,
now reboot the system.
#init 6
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / nikil
boot into single user mode by using CD-ROM
Mount the root file system with temporary mount point /a.
/a/rootfile system path.
cd /a/etc/passwd
remove encrypted passwd save that file.
boot the server
Is This Answer Correct ? | 5 Yes | 2 No |
Answer / ansu
boot the system form cdrom with single user mode
ok>boot cdrom -s
mount the root fs wiht /a mount point
mount /dev/dsk/c0t0d0s0 /a
vi /etc/shadow
remove the password field for root
init 6
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / durgesh srivastava
using failsafe mode
open a file vi /etc/shadow
edit a coloum no 2 his coloum is passwd information
using vi mode erase a passwd and ctrl+z save this file.
Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of Flar command in solaris
who to change the nis users passwd
How do u know that,what patch can be applicable on the system?
how to see nfs server from the client and the share directories
What happened if vxconfigd is disabled?
Major Difference between sparc and X86 systems
how to chk who r the users currently ogged in to the system..?
how to share a directory with nfs server and how client mount the nfs share
how to check the status of import and deport dg?
what is the main difference between windows , unix ,linux, operating syatems? And why the companies in the industry prefer to use solaris os ? why may be the reason?
What is VTS..??
Does "AMD Turion 64 X2 Processor TL50, 1.6 GHz and above" supports Solaris 10?.