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 are the deamons for nis server,nis slave,nis client

2 Answers   IBM, Satyam, Tech Mahindra,


Unable to telnet any of my servers in the network..? wht may be the reason

3 Answers   HP,


For maintenance purpose the system will be down and up as per weekly or monthly in production mode ,what are the needed points to mind ,what are that?

2 Answers  


how to install multiple patches

5 Answers   HCL, HP, IBM,


What is meant by jumpstart?

2 Answers   IBM,






How do you boot from a Network with jumpstart?

3 Answers  


where the NIS will be actually used (Situation)

1 Answers   IBM,


How can u configure two DHCP and Two DNS servers r there and u have 100's of users then 1st system takes which DHCP server and which DNS sever

1 Answers   IBM,


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

0 Answers  


How to identify multiple paths for a disk.?

2 Answers  


what r the configuration files for rlogin and ssh

2 Answers   IBM,


What are the various clusters you have worked on?

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)