How to brk the root pwd?

Answers were Sorted based on User's Feedback



How to brk the root pwd?..

Answer / jk biswal

its not in /etc/passwd file its in /etc/shodow file

Is This Answer Correct ?    8 Yes 2 No

How to brk the root pwd?..

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

How to brk the root pwd?..

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

How to brk the root pwd?..

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

How to brk the root pwd?..

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

Post New Answer

More Solaris AllOther Interview Questions

What is the use of Flar command in solaris

1 Answers  


who to change the nis users passwd

5 Answers   HCL,


How do u know that,what patch can be applicable on the system?

0 Answers  


how to see nfs server from the client and the share directories

5 Answers   IBM,


What happened if vxconfigd is disabled?

1 Answers  






Major Difference between sparc and X86 systems

1 Answers  


how to chk who r the users currently ogged in to the system..?

4 Answers  


how to share a directory with nfs server and how client mount the nfs share

3 Answers   IBM, Wipro,


how to check the status of import and deport dg?

2 Answers   Symphony,


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?

1 Answers  


What is VTS..??

3 Answers  


Does "AMD Turion 64 X2 Processor TL50, 1.6 GHz and above" supports Solaris 10?.

1 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)